[Users] compiling with openmpi instead of mpich
Hamilton, Maria
babiuc at marshall.edu
Thu Sep 6 17:17:35 CDT 2018
Ronald,
Thank you, this is helpful!
I am attaching the configuration file to this email, will you please take a look to see if I am activating the right variables?
Also, shall I comment out CPPFLAGS=-DMPICH_IGNORE_CXX_SEEK or not.
Oh, sorry, I meant to give you the MPI directory, not the HDF5 one.
And please excuse my ignorance in matters of openmp and openmpi.
:)
Maria
_______________________
Dr. Maria C. Babiuc Hamilton
Department of Physics
Marshall University
S257 Science Building
Huntington, WV, 25755
Phone: (304)696-2754
________________________________________
From: Roland Haas <rhaas at illinois.edu>
Sent: Thursday, September 6, 2018 10:27 AM
To: Hamilton, Maria
Cc: users at einsteintoolkit.org
Subject: Re: [Users] compiling with openmpi instead of mpich
Hello Maria,
The commented out OpenMP flags (not that the is OpenMP and not OpenMPI,
the two are completely different) will lead Cactus to not use OpenMP
which will mean that you will always have to run with --num-threads=1
or have cores sit idle.
I would remove the comment characters (ie make the variables active
again).
Yours,
Roland
> Hello,
>
>
> This is a followup question regarding me using ET to do runs on the BigGreen cluster at Marshall University, WV.
>
> I am compiling the executable with simfactory/mdb/optionlists/centos.cfg
>
> This executable has the setting
>
> CPPFLAGS=-DMPICH_IGNORE_CXX_SEEK
>
> and a lot of openmp flags commented out.
>
> First I left these commented out and just give the mpich directory:
>
> MPI_DIR=/opt/ohpc/pub/mpi/mpich-gnu7-ohpc/3.2.1
>
> However, when looking at the config-info, I see that it compiled with mpich flag and openmpi:
>
> CPPFLAGS=-DMPICH_IGNORE_CXX_SEEK
>
> HDF5_DIR=/opt/ohpc/pub/libs/gnu7/hdf5/1.10.1
>
>
> Everything seems working, I just I want to make sure this won't cause problems when running the executable.
>
> It would be cleaner to compile with openmpi from the beginning. Will you please let me know what flags to silence and what to turn on, in order to compile with openmpi?
>
>
> thanks,
>
> Maria
>
>
> _______________________
> Dr. Maria C. Babiuc Hamilton
> Department of Physics
> Marshall University
> S257 Science Building
> Huntington, WV, 25755
> Phone: (304)696-2754
>
--
My email is as private as my paper mail. I therefore support encrypting
and signing email messages. Get my PGP key from http://pgp.mit.edu .
-------------- next part --------------
A non-text attachment was scrubbed...
Name: centosmp.cfg
Type: application/octet-stream
Size: 1816 bytes
Desc: centosmp.cfg
Url : http://lists.einsteintoolkit.org/pipermail/users/attachments/20180906/dd40a79b/attachment.obj
More information about the Users
mailing list