error compiling nwchem-7.0.2 centos 7

173 views
Skip to first unread message

Mike Mazanetz

unread,
Nov 21, 2020, 3:57:22 PM11/21/20
to NWChem Forum

Dear Forum,

I ran the enclosed script to compile nwchem on centos7.

I used the mpi location which was in AMBER

The output is enclosed.

The error is on the last few lines of the output.txt

 

                         checking for library containing MPI_Init... no

                         configure: error: test for COMEX_NETWORK=MPI_TS failed

                         configure: error: ../../ga-5.7.2/comex/configure failed for comex

                         make[1]: *** [build/config.status] Error 1

                         make[1]: Leaving directory `/usr/local/NWChem/nwchem-7.0.2/src/tools'

                         make: *** [libraries] Error 1

 

Can anyone offer assistance to understand where the problem stems from and how t fix it.

 

Thanks,

mike

compile-nwchem68-openmpi.script
output.txt

Edoardo Aprà

unread,
Nov 21, 2020, 4:37:44 PM11/21/20
to NWChem Forum
On Centos 7, you could  install the NWChem 7.0.2 RPM from EPEL7

sudo yum update
sudo yum install nwchem-openmpi.x86_64

Mike Mazanetz

unread,
Nov 21, 2020, 7:49:47 PM11/21/20
to NWChem Forum
Hi,

thanks.  I had already the latest nwchem-openmpi installed.
Can you advise on how I can edit the script to export this openmpi version?  Or what I need to change in the script?

cheers,
mike

Mike Maza

unread,
Nov 21, 2020, 7:49:55 PM11/21/20
to nwchem...@googlegroups.com
Dear Edoardo,
thank you for your support.
The nwchem was up to date.
Are you able to suggest a change to the script or tell me where I can point to the nwchem-openmpi library/include/bin to make this work?
Many thanks.
Mike


--
You received this message because you are subscribed to a topic in the Google Groups "NWChem Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/nwchem-forum/AN-Ru8_FfxE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to nwchem-forum...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nwchem-forum/52348c35-c62c-4a42-9aa8-e7ab1ff2d625n%40googlegroups.com.

Edoardo Aprà

unread,
Nov 21, 2020, 8:06:10 PM11/21/20
to NWChem Forum

module load openmpi-x86_64

Edoardo Aprà

unread,
Nov 21, 2020, 8:07:37 PM11/21/20
to NWChem Forum
The name of the binary is

nwchem_openmpi

Mike Maza

unread,
Nov 22, 2020, 8:50:39 AM11/22/20
to nwchem...@googlegroups.com
Hi,

thanks for that.  It now works.  No need to create the script as you pointed out.


sudo yum update
sudo yum install nwchem-openmpi.x86_64
source /etc/profile.d/nwchem.sh
module load mpi/openmpi-x86_64
echo -e "geometry\nH 0 0 0\nH 0 0 1\nend\nbasis\nH library STO-3G\nend\ntask dft energy" > test.nw && mpiexec -np 2 `which nwchem_openmpi` test.nw


as per :


best,
mike

Reply all
Reply to author
Forward
0 new messages