It is currently Tue Dec 07, 2021 5:17 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Thu Mar 30, 2017 7:14 pm 
Offline

Joined: Thu Sep 09, 2010 4:05 am
Posts: 2
I installed Galprop from source code and want to run it parallely. I added --enable-openmp on configuration. What should I do next? Should I specify mpic++ as c++ compiler and mpif90 as fortran compiler? And after installation, how should I run? Should the command be something like "mpirun -n 8 source/galprop ..."?


Top
 Profile  
 
PostPosted: Fri Jun 02, 2017 3:26 am 
Offline
Site Admin

Joined: Fri Jul 18, 2008 3:04 pm
Posts: 60
Location: Stanford
GALPROP uses openmp for parallelization. You just specify --enable-openmp and use an openmp enabled compiler, such as gcc > 4.5 or intel compilers > 11.0. Then just run the code normally. This will allow GALPROP to use all available cores on a single machine. If you want to run on fewer cores you set the environment variable OMP_NUM_THREADS=<number of cores> before executing GALPROP.

_________________
Gudlaugur Johannesson, GALPROP developer


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


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 post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group