Compiling with MPICH


Clicked A Few Times
Hi, I Have installed mpich2, as openmpi didn't work. However, I am unsure if this looks good at the mpif90 step inn Linux 64bits installation (Ubuntu)

NWChem:/home/fjordforsk/nwchem# mpif90 -show
gfortran -I/usr/local/include -I/usr/local/include -L/usr/local/lib -lmpifort -Wl,-rpath -Wl,/usr/local/lib -Wl,--enable-new-dtags -lmpi


What would the respective tags be for setenv variables?

Clicked A Few Times
tried to bypass this by using the debian version of nwchem, but it didn't work:


  • Hwloc has encountered what looks like an error from the operating system.

  • object intersection without inclusion!
  • Error occurred in topology.c line 594

  • Please report this error message to the hwloc user's mailing list,
  • along with the output from the hwloc-gather-topology.sh script.

Forum Vet
Quote:Semmen Dec 20th 1:55 am
Hi, I Have installed mpich2, as openmpi didn't work. However, I am unsure if this looks good at the mpif90 step inn Linux 64bits installation (Ubuntu)

NWChem:/home/fjordforsk/nwchem# mpif90 -show
gfortran -I/usr/local/include -I/usr/local/include -L/usr/local/lib -lmpifort -Wl,-rpath -Wl,/usr/local/lib -Wl,--enable-new-dtags -lmpi


What would the respective tags be for setenv variables?


MPI_INCLUDE=/usr/local/include
MPI_LIB=/usr/local/lib
LIBMPI=" -lmpifort -lmpi"


Forum >> NWChem's corner >> Compiling NWChem