Previous Thread
Next Thread
Print Thread
Joined: Jan 2019
Posts: 21
T
Forum Member
OP Offline
Forum Member
T
Joined: Jan 2019
Posts: 21
Hello everyone,

My server is Ubuntu. When I perform the command line "nohup mpirun -np 32 charmm setup1.out & ", only one CUP core can calculate. Ubuntu needs what libraries to run the charmm?
Can anyone help me? Thanks advance!

Joined: Jan 2019
Posts: 21
T
Forum Member
OP Offline
Forum Member
T
Joined: Jan 2019
Posts: 21
I have installed below libraries:
"apt install w3m w3m-img openmpi-bin libopenmpi-dev gcc g++ gfortran tcl grace \
samba cifs-utils samba-common cp2k bc csh flex xorg-dev zlib1g-dev libbz2-dev patch \
gromacs mpich bc csh flex xorg-dev zlib1g-dev libbz2-dev patch cmake"

Joined: Sep 2003
Posts: 8,629
Likes: 24
rmv Online Content
Forum Member
Online Content
Forum Member
Joined: Sep 2003
Posts: 8,629
Likes: 24
What commands were used to build the charmm program? Were there any informational or warning messages regarding MPI from the build process?

The MPI libraries from Linux distributions typically lack the Fortran90 bindings (mpi.mod). With the GCC suite (gcc, gfortran, etc.), it is recommended to build the MPI library with Fortran90 support included, using the same compiler versions that will be used to compile charmm.

Please note that there is a specific forum for installation questions.


Rick Venable
computational chemist

Joined: Jan 2019
Posts: 21
T
Forum Member
OP Offline
Forum Member
T
Joined: Jan 2019
Posts: 21
At line 164 of file /home/hj/program/charmm/source/util/parse.src (unit = 5, file = 'stdin')
Fortran runtime error: Sequential READ or WRITE not allowed after EOF marker, possibly use REWIND or BACKSPACE

How can I add the Fortran90 bindings (mpi.mod)? Thanks a lot!!!

Sorry, I would put my question on the correct model next time, thank you for your replying.

Joined: Jan 2019
Posts: 21
T
Forum Member
OP Offline
Forum Member
T
Joined: Jan 2019
Posts: 21
Thank you so much !! I have solve my problem, I installed all of the libraries among c35b2.cgenff.charmm/doc/parallel.doc. And I change my command line "nohup mpirun -np 32 charmm -i 1.chm -o 1.out &" instead of the wrong previous expression "nohup mpirun -np -32 <1.chm> 1.out &" And then, the parallel computing is performed. Thanks a lot ! grin

Joined: Sep 2003
Posts: 8,629
Likes: 24
rmv Online Content
Forum Member
Online Content
Forum Member
Joined: Sep 2003
Posts: 8,629
Likes: 24
Note that c35b2 is fairly old code, and a free version of c43b1 is available.


Rick Venable
computational chemist


Moderated by  lennart, rmv 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.5
(Release build 20201027)
Responsive Width:

PHP: 7.3.31-1~deb10u2 Page Time: 0.005s Queries: 26 (0.003s) Memory: 0.7529 MB (Peak: 0.8098 MB) Data Comp: Off Server Time: 2023-01-27 08:45:43 UTC
Valid HTML 5 and Valid CSS