.movecs file reading with pspw calculations

30 views
Skip to first unread message

Adrià Blanch Garrido

unread,
Mar 12, 2025, 1:44:16 PMMar 12
to NWChem Forum
Hi everyone,

I am new using NWChem and I am running an NWChem calculation with DFT  PSPW module. I want to obtain the MO coefficients. A priori they should be stored in the .movecs file. There is a file called mov2asc in: https://github.com/nwchemgit/nwchem/tree/master/contrib/mov2asc  that should make this file readable to extract the data I am interested in. 

However, when trying to compile the fortran code I get some errors because a mafdecls.fh file is included in the code, but such file does not exist.

gfortran -c -fdefault-integer-8 -I../../src/tools/install/include                        mov2asc.F
f951: Warning: Nonexistent include directory '../../src/tools/install/include' [-Wmissing-include-dirs]
mov2asc.F:14:2:

   14 | c
      |  1
Fatal Error: mafdecls.fh: No such file or directory
compilation terminated.
make: *** [Makefile:126: mov2asc.o] Error 1

Does anyone know how to fix this error? 

Thanks in advance,

Adrià

Edoardo Aprà

unread,
Mar 13, 2025, 3:16:42 PMMar 13
to NWChem Forum
Do you have a full installation from source in the same directory tree where you are trying to compile mov2asc?
Reply all
Reply to author
Forward
0 new messages