Install ImageMagick on HPCC.

I used a long time to understand how to install software on HPCC. Previously, due to the limited permission I also failed to install anything on the university HPCC.

The solution is simple for most cases. Set up the install directory in your own directory. I have a folder at ~/bin and add it to the PATH by export PATH=~/bin:$PATH. Then install software there.

When you ./configure a source file, in most condition, add –prefix=~/bin is fine. But you should check the configure file to see whether it has other requirement.

Here I use ImageMagick as example. I always use it to generate animation with VMD and combine figures generated by GNUPLOT. (citaiton: http://www.imagemagick.org/script/install-source.php)

wget http://www.imagemagick.org/download/ImageMagick.tar.gz
tar xvzf ImageMagick.tar.gz
cd ImageMagick-6.9.1-8
./configure --prefix=~/bin --exec-prefix=~/bin
make
make install
make check

I passed 76 test, no errors : )

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s