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
cosmomc: compiling on a Sun V880
-
- Posts: 25
- Joined: November 14 2005
- Affiliation: Swarthmore
- Contact:
-
- Posts: 183
- Joined: September 24 2004
- Affiliation: Brookhaven National Laboratory
- Contact:
Re: cosmomc: compiling on a Sun V880
Did you add-DMPI (or whatever you need to send directives to preprocessor) to the compilation command?Tristan L Smith wrote:I have done this and yet each time I run the 'mprun' command it doesn't save separate files for each chain being computed.
-
- Posts: 25
- Joined: November 14 2005
- Affiliation: Swarthmore
- Contact:
cosmomc: compiling on a Sun V880
A bit belated, but thanks Anze-- that did fix the compiling problem. I also found that I neeeded to change the way in which the driver.F90 created files in order for cosmomc to run correctly. If any one wants the fix, feel free to email me and I can send it to them.
Cheers,
Tristan
Cheers,
Tristan