Building IPS on jaguar
Building IPS on jaguar
0. Make sure that you have subversion by:
module load subversion
1. Check out the ips code using this command:
svn co https://cswim.org/svn/cswim/ips/trunk ips
2. Add modules and set env vars (please note unloading and loading of netcdf - needed
because of switching to the pathscale compiler)
module load ncl java-jdk java-jre xt-libsci netcdf python/2.5.2-alt
module unload netcdf
module switch PrgEnv-pgi PrgEnv-pathscale
module load netcdf
export NTCCHOME=/spin/proj/fus013/NUBEAM_Cray_XT_Pathscale
export IPS_ROOT=/ccs/home/sveta/projects/ips
export MKLHOME=/opt/xt-libsci/1.5.31/pgi/cnos64
export PATH=$PATH:/spin/apps/nedit/5.5/jaguar
export PATH=$IPS_ROOT/bin:$PATH
3. Hopefully now you can compile:
cd ips
make
This might end up in the following standard failures:
***FAILURE building Ptoric.e
***FAILURE building Storic.e
***FAILURE building epa_driver_toric.py
***FAILURE building prepare_cql3d_input
***FAILURE building process_cql3d_output
***FAILURE building xrite_pps
***FAILURE building xread_pps
Do not be upset!
4. Next do:
cd utilities/src
make install
This should end up having the "ips" executable in bin directory. If you do make install from
the top directory, it will have some error messages but will do the required installation
and recompilation of the "ips" executable.
5. Now test by doing:
cd ../../components/state/src/test
make
./swim_state_test
6. Now try to run something:
ips --config=<configuration file>
module load subversion
1. Check out the ips code using this command:
svn co https://cswim.org/svn/cswim/ips/trunk ips
2. Add modules and set env vars (please note unloading and loading of netcdf - needed
because of switching to the pathscale compiler)
module load ncl java-jdk java-jre xt-libsci netcdf python/2.5.2-alt
module unload netcdf
module switch PrgEnv-pgi PrgEnv-pathscale
module load netcdf
export NTCCHOME=/spin/proj/fus013/NUBEAM_Cray_XT_Pathscale
export IPS_ROOT=/ccs/home/sveta/projects/ips
export MKLHOME=/opt/xt-libsci/1.5.31/pgi/cnos64
export PATH=$PATH:/spin/apps/nedit/5.5/jaguar
export PATH=$IPS_ROOT/bin:$PATH
3. Hopefully now you can compile:
cd ips
make
This might end up in the following standard failures:
***FAILURE building Ptoric.e
***FAILURE building Storic.e
***FAILURE building epa_driver_toric.py
***FAILURE building prepare_cql3d_input
***FAILURE building process_cql3d_output
***FAILURE building xrite_pps
***FAILURE building xread_pps
Do not be upset!
4. Next do:
cd utilities/src
make install
This should end up having the "ips" executable in bin directory. If you do make install from
the top directory, it will have some error messages but will do the required installation
and recompilation of the "ips" executable.
5. Now test by doing:
cd ../../components/state/src/test
make
./swim_state_test
6. Now try to run something:
ips --config=<configuration file>