<div>I use the PGI7.0 to install pwscf 2.1.5 , it always show the errors as following;</div>
<div>> make pw<br>test -d bin || mkdir bin<br>( cd Modules; make all )<br>make[1]: Entering directory `/home/user15/projects/pwwork/PW/espresso-2.1.5/Modules'<br>/lib/cpp -P -traditional -D__LINUX -D__PGI -D__FFTW -D__USE_INTERNAL_FFTW -I/home/user15/projects/pwwork/PW/espresso-2.1.5/include -I./ atom.f90 atom.F90<br>
pgf90 -fast -r8 -I/home/user15/projects/pwwork/PW/espresso-2.1.5/Modules -I/home/user15/projects/pwwork/PW/espresso-2.1.5/PW -I/home/user15/projects/pwwork/PW/espresso-2.1.5/PH -c atom.F90 -o atom.o<br>PGF90-F-0004-Unable to open MODULE file kinds.mod (atom.F90: 14)<br>
PGF90/x86-64 Linux 7.0-2: compilation aborted<br>make[1]: *** [atom.o] Error 2<br>make[1]: Leaving directory `/home/user15/projects/pwwork/PW/espresso-2.1.5/Modules'<br>make: *** [mods] Error 2<br></div>
<div>doses anybody can solve this problem?</div>
<div>the following is the make.sys.</div>
<div># make.sys. Generated from <a href="http://make.sys.in">make.sys.in</a> by configure.<br>CC = mpicc<br>CCFLAGS = -fast $(DFLAGS) $(IFLAGS)<br># See include/defs.h.README for a list of precompilation options<br>
# (possible arguments to -D or -U) and their meaning<br>DFLAGS = -D__LINUX64 -D__PGI -D__MPI -D__PARA -D__FFTW -D__USE_INTERNAL_FFTW<br>FDFLAGS = $(DFLAGS)<br>IFLAGS = -I. -I../include -I../Modules -I../PW -I../PH <br>
CPP = cpp<br>CPPFLAGS = -P -traditional $(DFLAGS) $(IFLAGS)<br>F77 = mpif77<br>F90 = mpif90<br>FFLAGS = -fast -r8 $(IFLAGS)<br>F77FLAGS = $(FFLAGS)<br>F90FLAGS = $(FFLAGS) $(FDFLAGS)<br>
F77FLAGS_NOOPT = -O0<br>LD = mpif90<br>LDFLAGS = $(LIBOBJS) $(LIBS)<br>LIBOBJS = ../flib/ptools.a ../flib/flib.a ../clib/clib.a<br># LIBS must contain the location of all needed external libraries<br>
LIBS = -llapack -lblas <br># MYLIB can be one of the following (depending on LIBS):<br># blas : compile the local copy of blas routines<br># lapack : compile the local copy of lapack routines<br># blas_and_lapack : all of the above - use this for a quick test<br>
# or if you don't have an optimized blas/lapack library<br># lapack_ibm : compile only lapack routines not present in IBM ESSL<br># use this together with IBM ESSL<br># lapack_t3e : compile only lapack routines not present in T3E scilib<br>
# use this together with T3E scilib<br># lapack_mkl : compile only lapack routines not present in Intel MKL<br># use this together with Intel MKL<br>MYLIB = <br>AR = ar<br>ARFLAGS = ruv<br>
RANLIB = echo<br><br><br><br clear="all"><br>-- <br>ZhouDawei<br>JiLin Universiyt ,ChangChun ,China<br><a href="mailto:zdw2000@gmail.com">zdw2000@gmail.com</a><br></div>