View unanswered posts | View active topics
|
Page 1 of 1
|
[ 2 posts ] |
|
Author |
Message |
juan
|
Posted: Thu Mar 30, 2017 7:14 pm |
|
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 |
|
 |
gudlaugu
|
Posted: Fri Jun 02, 2017 3:26 am |
|
 |
Site Admin |
Joined: Fri Jul 18, 2008 3:04 pm Posts: 61 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 |
|
 |
|
Page 1 of 1
|
[ 2 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 35 guests |
|
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
|