Skip to content
Snippets Groups Projects
Commit c69ff078 authored by Juve, Gideon's avatar Juve, Gideon
Browse files

Make sure diagnostics code finds ImageMagick

parent 8a700219
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,15 @@ if [ $# -ne 1 ]; then
exit 1
fi
# Make sure ImageMagick is on the path
if [ -z "$(which convert)" ]; then
if [ -z "$MAGICK_HOME" ]; then
echo "ImageMagick not found. Set MAGICK_HOME."
exit 1
fi
export PATH=$PATH:$MAGICK_HOME/bin
fi
# Need to load the modules for the diagnostics code
module load ncl
module load nco
......
......@@ -19,6 +19,7 @@
</directory>
<profile namespace="env" key="PEGASUS_HOME">/project/projectdirs/m2187/pegasus/pegasus-4.4.0</profile>
<profile namespace="env" key="DIAG_HOME">/project/projectdirs/m2187/amwg/amwg_diagnostics</profile>
<profile namespace="env" key="MAGICK_HOME">/project/projectdirs/m2187/ImageMagick-6.9.0.4</profile>
<profile namespace="globus" key="project">m2187</profile>
<profile namespace="globus" key="queue">regular</profile>
<profile namespace="condor" key="periodic_remove">False</profile>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment