<div dir="ltr">Hello, <br><br>I am getting the following compilation error using the following configuration:<br><br>intel/13.1.3.192<br>intelmpi/4.1.1.036<br><br>mpiifort -c -O3 -D__INTEL -D__parallel -D__SCALAPACK -D__LIBINT -D__LIBXC2 -D__FFTW3  -D__ELPA -I/apps/developers/compilers/intel/12.1.5.339/1/default/mkl/include/fftw/include -I/nobackup/durmwa/elpa-2014.06/include -I/nobackup/durmwa/libint-1.1.4-inst/include -I/nobackup/durmwa/libxc-2.2.1-inst/include acc_event.f90<br>/nobackup/durmwa/cp2k-2.6.0/src/base/machine_posix.f90(254): error #5082: Syntax error, found END-OF-STATEMENT when expecting one of: ) :: , :<br>    istat = unlink(TRIM(TARGET)<br>-------------------------------^<br>/nobackup/durmwa/cp2k-2.6.0/src/base/machine_posix.f90(258): error #5082: Syntax error, found END-OF-STATEMENT when expecting one of: ) :: , :<br>    istat = rename(TRIM(source)<br>-------------------------------^<br>/nobackup/durmwa/cp2k-2.6.0/src/base/machine_posix.f90(329): error #5082: Syntax error, found END-OF-STATEMENT when expecting one of: ) :: , :<br>    ierror = chdir(TRIM(dir)<br>----------------------------^<br>/nobackup/durmwa/cp2k-2.6.0/src/base/machine_posix.f90(258): error #6631: A non-optional actual argument must be present when invoking a procedure with an explicit interface.   [DEST]<br>    istat = rename(TRIM(source)<br>------------^<br>compilation aborted for machine_internal.f90 (code 1)<br>make[3]: *** [machine_internal.o] Error 1<br>make[3]: *** Waiting for unfinished jobs....<br><br>make[2]: *** [all] Error 2<br>make[1]: *** [popt] Error 2<br>make: *** [all] Error 2<br><br>I have also tried with gfortran 4.8.1, but I still get the same problem. Below is my makefile:<br><br>#<br>ELPA_LIB = /nobackup/durmwa/elpa-2014.06/lib<br>ELPA_INC = /nobackup/durmwa/elpa-2014.06/include<br>LIBINT_LIB = /nobackup/durmwa/libint-1.1.4-inst/lib<br>LIBINT_INC = /nobackup/durmwa/libint-1.1.4-inst/include<br>LIBXC_LIB = /nobackup/durmwa/libxc-2.2.1-inst/lib<br>LIBXC_INC = /nobackup/durmwa/libxc-2.2.1-inst/include<br><br>INTEL_MKL_LIB = /apps/developers/compilers/intel/12.1.5.339/1/default/mkl/lib/intel64<br>FFTW3_PATH = /apps/developers/compilers/intel/12.1.5.339/1/default/mkl/include/fftw<br>#<br>CC       = cc<br>CPP      = cpp<br>FC       = mpiifort<br>LD       = mpiifort<br>AR       = ar -r<br>CPPFLAGS = <br>DFLAGS   = -D__INTEL -D__parallel -D__SCALAPACK -D__LIBINT -D__LIBXC2 -D__FFTW3  -D__ELPA<br>FCFLAGS  = -O3 $(DFLAGS) -I${FFTW3_PATH}/include -I${ELPA_INC} -I$(LIBINT_INC) -I$(LIBXC_INC)<br>LDFLAGS  = $(FCFLAGS) -L$(LIBINT_LIB)  -L${FFTW3_PATH}/lib64  -L$(INTEL_MKL_LIB) -L$(LIBXC_LIB) -L$(ELPA_LIB)<br>LIBS     =  -lmkl_scalapack_lp64 -lmkl_blacs_intelmpi_lp64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core \<br>            -lderiv -lint -lfftw3 -lxc -lelpa<br><br>Any help will be greatly appreciated. <br><br>Regards,<br></div>