cosmomc: compiling on a Sun V880
Posted: November 14 2005
Hi everyone,
I was wondering if any one has tried to compile cosmomc and use MPI on a Sun V880 (or any other Sun machine for that matter). The default Makefile section corresponding to 'Sun parallel enterprise' machines says to compile using f95-- but in the Sun documentation that I have found says that if we want to use MPI then we need to actually compile with tmf90 with an extra flag -dalign and an extra library -lmpi_mt. I have done this and yet each time I run the 'mprun' command it doesn't save separate files for each chain being computed. To make things worse, the file names are completely wrong-- even when running on just one processor the only file that makes it into the /chains directory is the .log file, eveything else is written to the directory from which cosmomc was executed and their names are some truncated version of 'chains' (since this the directory the params.ini file indicates these files should be written into).
Any similar experiences/fixes would be a great help-- thanks!
Cheers,
Tristan
I was wondering if any one has tried to compile cosmomc and use MPI on a Sun V880 (or any other Sun machine for that matter). The default Makefile section corresponding to 'Sun parallel enterprise' machines says to compile using f95-- but in the Sun documentation that I have found says that if we want to use MPI then we need to actually compile with tmf90 with an extra flag -dalign and an extra library -lmpi_mt. I have done this and yet each time I run the 'mprun' command it doesn't save separate files for each chain being computed. To make things worse, the file names are completely wrong-- even when running on just one processor the only file that makes it into the /chains directory is the .log file, eveything else is written to the directory from which cosmomc was executed and their names are some truncated version of 'chains' (since this the directory the params.ini file indicates these files should be written into).
Any similar experiences/fixes would be a great help-- thanks!
Cheers,
Tristan