Cosmomc: Crashes when run on cluster

Use of Cobaya. camb, CLASS, cosmomc, compilers, etc.
Post Reply
Deepak Vaid
Posts: 7
Joined: May 24 2007
Affiliation: Penn State

Cosmomc: Crashes when run on cluster

Post by Deepak Vaid » May 31 2007

Hello,

This is related to a previous post: http://cosmocoffee.info/viewtopic.php?t ... ght=forrtl. I'm having the same problem as Luis Mendes in that post. Anze Slozar gave a 'hack' to get around the problem in that post. But I don't see where this piece of code would go. How do I prevent these crashes with or without Anze's hack? (Also, cosmomc runs fine on one processor same as for Luis.).

For reference I'm compiling using MPICH on Intel Xeon 3160 (Woodcrest) Dual-Core Processors. I compiled cfitsio using mpicc and mpif90. WMAP, CAMB and Cosmomc were all compiled with mpif90 with compiler flags:

Code: Select all

-openmp -ip -O2 -Vaxlib -W0 -WB -fpp2
I'm using the following script to submit the job:

Code: Select all

#PBS -N cosmomc
#PBS -l nodes=4:ppn=4
#PBS -l walltime=12:00:00
#PBS -r n
#PBS -j oe
cd /home1/dxv907/cosmomc/cosmomc
time mpirun ./cosmomc params.ini > ./scripts/params.log
The error output is:

Code: Select all

forrtl: severe (59): list-directed I/O syntax error, unit -5, file Internal List-Directed Read
Image              PC                Routine            Line        Source             
cosmomc            00000000007AD9FB  Unknown               Unknown  Unknown
cosmomc            00000000007AB4FA  Unknown               Unknown  Unknown
cosmomc            000000000077C60C  Unknown               Unknown  Unknown
cosmomc            000000000073C5A4  Unknown               Unknown  Unknown
cosmomc            000000000073C1F4  Unknown               Unknown  Unknown
cosmomc            0000000000753DD6  Unknown               Unknown  Unknown
cosmomc            00000000007533B9  Unknown               Unknown  Unknown
cosmomc            000000000044D5BF  Unknown               Unknown  Unknown
cosmomc            0000000000408BAA  Unknown               Unknown  Unknown
libc.so.6          0000003A06D1C3FB  Unknown               Unknown  Unknown
cosmomc            0000000000408AEA  Unknown               Unknown  Unknown
0.066u 0.223s 0:00.82 34.1%     0+0k 0+0io 0pf+0w
Any help would be wonderful

Post Reply