CosmoCoffee Forum Index CosmoCoffee

 
 FAQFAQ   SearchSearch  MemberlistSmartFeed   MemberlistMemberlist    RegisterRegister 
   ProfileProfile   Log inLog in 
Arxiv New Filter | Bookmarks & clubs | Arxiv ref/author:

COSMOMC with MPI & OpenMP
 
Post new topic   Reply to topic    CosmoCoffee Forum Index -> Computers and software
View previous topic :: View next topic  
Author Message
jayanti prasad



Joined: 21 Oct 2010
Posts: 9
Affiliation: Inter-University Centre for Astronomy and Astrophysics (IUCAA)

PostPosted: July 02 2011  Reply with quote

I have two issues:

(1) I have not been able to compile COSMOMC with 'mpif90' with '-openmp' option for OpenMP. Basically I want CAMB to use OpenMP (as it does for an independent case). Any clue

(2) I can compile COSMOMC with 'ifort' with OpenMP option and it does work but gives very poor performance. I use 8 threads but never get more than 300 % CPU on a single node. .

Regards
Jayanti Prasad
Back to top
View user's profile   Visit poster's website
Sheng Li



Joined: 26 May 2009
Posts: 44
Affiliation: Univ. of Sussex

PostPosted: July 04 2011  Reply with quote

did i reply you? but where is my reply?
Back to top
View user's profile [ Hidden ]
Sheng Li



Joined: 26 May 2009
Posts: 44
Affiliation: Univ. of Sussex

PostPosted: July 04 2011  Reply with quote

jayanti prasad wrote:
I have two issues:

(1) I have not been able to compile COSMOMC with 'mpif90' with '-openmp' option for OpenMP. Basically I want CAMB to use OpenMP (as it does for an independent case). Any clue


Try ignoring option -openmp just for mpirun or mpif90.
But add it to F90Flag or FFlag for compiler (in your case, ifort)

mpirun stuffs are just a wrapper, i think.

Quote:
(2) I can compile COSMOMC with 'ifort' with OpenMP option and it does work but gives very poor performance. I use 8 threads but never get more than 300 % CPU on a single node. .

Regards
Jayanti Prasad


i think the above solution will help if you can compile through.

And before doing that, make sure you can find mpirun/mpif90. Just type 'which mpirun' in term, then also you need to know which compiler and suffix will be linked by mpirun, just type 'mpirun -show' or mpirun without argument in term.

You will sort it yourself i think.
good luck.
Back to top
View user's profile [ Hidden ]
Display posts from previous:   
Post new topic   Reply to topic    CosmoCoffee Forum Index -> Computers and software All times are GMT + 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group. Sponsored by WordWeb online dictionary and dictionary software.