6.8 on Windows


Gets Around
I try to compile with MinGW as usually.

gfortran  -c  -fno-tree-dominator-opts  -m32 -march=pentium4 -mtune=pentium4 -O2  -ffast-math -Wuninitialized -fno-aggressive-loop-optimizations -fno-tree-dominator-opts  -O2 -ffast-math -Wuninitialized -I. -I/home/Layruoru/MPICH2/include -I/home/Layruoru/nwchem-6.8/src/include -I/home/Layruoru/nwchem-6.8/src/tools/install/include -DLINUX -DGFORTRAN -DGCC46 -DCHKUNDFLW -DGCC4 -DPARALLEL_DIAG  -DMPI -DMPI4  Dne_omp.F
Dne_omp.F:29:9:

       USE omp_lib
         1
Fatal Error: Can't open module file 'omp_lib.mod' for reading at (1): No such file or directory
compilation terminated.
make[4]: *** [/home/Layruoru/nwchem-6.8/lib/LINUX/libnwpwlib.a(Dne_omp.o)] Error 1
make[3]: *** [optimized] Error 2
make[2]: *** [subdirs] Error 1
make[1]: *** [subdirs] Error 1
make: *** [libraries] Error 1


What is Dne_omp?
What to do?

Forum Vet
gfortran version
OpenMP does not seem be supported on MinGW
https://github.com/StephanTLavavej/mingw-distro/issues/32

Could you please open a github nwchem issue on this topic?

Thanks

Just Got Here
6.8.1 on Windows
Hi,
I have same problem with omp_lib like user P99 when compile nwchem-6.8.1 with MinGW according to proposed procedure.

Some idea what to do?

Thanks

Forum Vet
fixed in 6.8.1
This should have been addressed in 6.8.1
Could you please post a detailed log of the failure?

Please post also all the env. variables that you have set

https://github.com/nwchemgit/nwchem/issues/22


Forum >> NWChem's corner >> Compiling NWChem