Thursday, January 28, 2010
Thursday, January 21, 2010
Compiling and using shared libraries on Juguar
To link to a dynamic library, besides the -L <path_to_lib>and -l<name_of_lib>, also remember to use -Bdynamic! It is because Jaguar is using pgcc for parallel programs.
But Jaguar compute nodes cannot load the dynamic library. So look at this page for linking to static library.
It took me at least 5 hours to find out. Google rocks...
But Jaguar compute nodes cannot load the dynamic library. So look at this page for linking to static library.
Monday, January 4, 2010
Submitting job to jaguarpf
- Use this job script (test.pbs)
- Submit it using qsub test.pbs
- Monitor the job status using qstat -a
#PBS -A STF008
#PBS -N test
#PBS -j oe
#PBS -l walltime=1:00:00,size=12
cd /lustre/widow1/scratch/zzhang3
date
env IOTA_LOGFILE=/lustre/widow1/scratch/zzhang3/output aprun -n 12 ./pi
Subscribe to:
Posts (Atom)