Script started on Thu 12 Jul 2012 05:20:03 PM CDT [root@gpupbl01 espresso-4.3.2-GPU]# amke make pw test -d bin || mkdir bin if test -e extlibs/archive/iotk-1.2.beta.tar.gz ; then \ ( cd extlibs ; make libiotk) ; fi make[1]: Entering directory `/clhome/src/espresso-4.3.2-GPU/extlibs' if test ! -d ../S3DE; then \ (gzip -dc archive/iotk-1.2.beta.tar.gz | (cd ../; tar -xvf -)) ; \ if test -e install/Makefile_iotk; then \ (cp install/Makefile_iotk ../S3DE/iotk/src/Makefile); fi; \ if test -e install/iotk_config.h; then \ (cp install/iotk_config.h ../S3DE/iotk/include/iotk_config.h); fi; fi cd ../S3DE/iotk/src; make lib+util; make[2]: Entering directory `/clhome/src/espresso-4.3.2-GPU/S3DE/iotk/src' make[2]: Nothing to be done for `lib+util'. make[2]: Leaving directory `/clhome/src/espresso-4.3.2-GPU/S3DE/iotk/src' cd ../bin; ln -fs ../S3DE/iotk/tools/iotk .; \ ln -fs ../S3DE/iotk/src/iotk.x .; \ ln -fs ../S3DE/iotk/src/iotk_print_kinds.x .; \ cd ../; ln -fs S3DE/iotk iotk make[1]: Leaving directory `/clhome/src/espresso-4.3.2-GPU/extlibs' if test -e extlibs/archive/phiGEMM-1.9.tar.gz ; then \ ( cd extlibs ; make libphiGEMM) ; fi make[1]: Entering directory `/clhome/src/espresso-4.3.2-GPU/extlibs' if test ! -d ../phiGEMM ; then \ ( gzip -dc archive/phiGEMM-1.9.tar.gz | (cd ../; tar -xvf -)); fi cp install/make_phiGEMM.inc ../phiGEMM/make.inc; cd ../phiGEMM; make all; make[2]: Entering directory `/clhome/src/espresso-4.3.2-GPU/phiGEMM' mkdir -p ./bin ./lib ./include if test -d src ; then \ ( cd src ; if test "make" = "" ; then make -w ; \ else make -w ; fi ) ; fi make[3]: Entering directory `/clhome/src/espresso-4.3.2-GPU/phiGEMM/src' mkdir -p .objs /opt/cuda/bin/nvcc -ccbin gcc -O3 --compiler-options '-fPIC -fopenmp' -c ./phigemm_dgemm.c -D__PHIGEMM_WEAK_INTERFACES -D__PHIGEMM_SELFTUNE -o .objs/dgemm.o -I/clhome/src/espresso-4.3.2-GPU/phiGEMM/include -I/opt/cuda/include /opt/cuda/bin/nvcc -ccbin gcc -O3 --compiler-options '-fPIC -fopenmp' -c ./phigemm_zgemm.c -D__PHIGEMM_WEAK_INTERFACES -D__PHIGEMM_SELFTUNE -I../include/ -o .objs/zgemm.o -I/clhome/src/espresso-4.3.2-GPU/phiGEMM/include -I/opt/cuda/include /opt/cuda/bin/nvcc -ccbin gcc -O3 --compiler-options '-fPIC -fopenmp' -c ./phigemm_sgemm.c -D__PHIGEMM_WEAK_INTERFACES -D__PHIGEMM_SELFTUNE -I../include/ -o .objs/sgemm.o -I/clhome/src/espresso-4.3.2-GPU/phiGEMM/include -I/opt/cuda/include /opt/cuda/bin/nvcc -ccbin gcc -O3 --compiler-options '-fPIC -fopenmp' -c ./phigemm_cgemm.c -D__PHIGEMM_WEAK_INTERFACES -D__PHIGEMM_SELFTUNE -I../include/ -o .objs/cgemm.o -I/clhome/src/espresso-4.3.2-GPU/phiGEMM/include -I/opt/cuda/include /opt/cuda/bin/nvcc -ccbin gcc -O3 --compiler-options '-fPIC -fopenmp' -c ./phigemm_auxiliary.c -D__PHIGEMM_WEAK_INTERFACES -D__PHIGEMM_SELFTUNE -I../include/ -o .objs/util.o -I/clhome/src/espresso-4.3.2-GPU/phiGEMM/include -I/opt/cuda/include /opt/cuda/bin/nvcc -ccbin gcc -O3 --compiler-options '-fPIC -fopenmp' -c ./phigemm_dgemm_specialK.c -D__PHIGEMM_WEAK_INTERFACES -D__PHIGEMM_SELFTUNE -I../include/ -o .objs/dgemm_specialK.o -I/clhome/src/espresso-4.3.2-GPU/phiGEMM/include -I/opt/cuda/include /opt/cuda/bin/nvcc -ccbin gcc -O3 --compiler-options '-fPIC -fopenmp' -c ./phigemm_zgemm_specialK.c -D__PHIGEMM_WEAK_INTERFACES -D__PHIGEMM_SELFTUNE -I../include/ -o .objs/zgemm_specialK.o -I/clhome/src/espresso-4.3.2-GPU/phiGEMM/include -I/opt/cuda/include mkdir -p ../bin ../lib ar ruv libphigemm.a .objs/cgemm.o .objs/sgemm.o .objs/dgemm.o .objs/zgemm.o .objs/util.o .objs/dgemm_specialK.o .objs/zgemm_specialK.o ar: creating libphigemm.a a - .objs/cgemm.o a - .objs/sgemm.o a - .objs/dgemm.o a - .objs/zgemm.o a - .objs/util.o a - .objs/dgemm_specialK.o a - .objs/zgemm_specialK.o mv libphigemm.a ../lib/. mkdir -p ../bin ../lib cc -O3 -fopenmp -fPIC -shared -o libphigemm.so.1.0.1 .objs/sgemm.o .objs/dgemm.o .objs/cgemm.o .objs/zgemm.o .objs/util.o .objs/dgemm_specialK.o .objs/zgemm_specialK.o -L/opt/cuda/lib64 -lcudart -lcublas -lcufft ln -sf libphigemm.so.1.0.1 libphigemm.so.1.0 ln -sf libphigemm.so.1.0 libphigemm.so.1 ln -sf libphigemm.so.1 libphigemm.so mv libphigemm.so* ../lib/. cpp -P -traditional -D__PHIGEMM_WEAK_INTERFACES -D__PHIGEMM_SELFTUNE phigemm.f90 phigemm.F90 gfortran -J../include/ -c phigemm.F90 -o .objs/phigemm.o chmod 755 ../include/phigemm.mod make[3]: Leaving directory `/clhome/src/espresso-4.3.2-GPU/phiGEMM/src' make[2]: Leaving directory `/clhome/src/espresso-4.3.2-GPU/phiGEMM' make[1]: Leaving directory `/clhome/src/espresso-4.3.2-GPU/extlibs' ( cd Modules ; if test "make" = "" ; then make TLDEPS= all ; \ else make TLDEPS= all ; fi ) make[1]: Entering directory `/clhome/src/espresso-4.3.2-GPU/Modules' test -n "cuda" && ( cd cuda ; make || exit 1) || : make[2]: Entering directory `/clhome/src/espresso-4.3.2-GPU/Modules/cuda' mpif90 -O3 -g -fopenmp -x f95-cpp-input -fopenmp -D__GFORTRAN -D__STD_F95 -D__FFTW -D__MPI -D__PARA -D__CUDA -D__GPU_NVIDIA_13 -D__PHIGEMM -D__CUDA_QE_TIMING -D__OPENMP -I../include -I/clhome/src/espresso-4.3.2-GPU/phiGEMM/include -I/opt/cuda/include -c cuda_mem_alloc.f90 In file cuda_mem_alloc.f90:22 FUNCTION cudaHostAlloc(buffer, size, flag) bind(C,name='cudaHostAlloc') 1 Error: Unexpected junk after function declaration at (1) In file cuda_mem_alloc.f90:23 USE iso_c_binding 1 Error: Unexpected USE statement in INTERFACE block at (1) In file cuda_mem_alloc.f90:24 IMPLICIT NONE 1 Error: Unexpected IMPLICIT NONE statement in INTERFACE block at (1) In file cuda_mem_alloc.f90:25 INTEGER (C_INT) :: cudaHostAlloc 1 Error: Parameter 'c_int' at (1) has not been declared or is a variable, which does not reduce to a constant expression In file cuda_mem_alloc.f90:26 TYPE (C_PTR) :: buffer 1 Error: Derived type 'c_ptr' at (1) is being used before it is defined In file cuda_mem_alloc.f90:27 INTEGER (C_SIZE_T), value :: size 1 Error: Parameter 'c_size_t' at (1) has not been declared or is a variable, which does not reduce to a constant expression In file cuda_mem_alloc.f90:28 INTEGER (C_SIZE_T), value :: flag 1 Error: Parameter 'c_size_t' at (1) has not been declared or is a variable, which does not reduce to a constant expression In file cuda_mem_alloc.f90:29 END FUNCTION cudaHostAlloc 1 Error: Expecting END INTERFACE statement at (1) In file cuda_mem_alloc.f90:32 FUNCTION cudaFreeHost(buffer) bind(C,name='cudaFreeHost') 1 Error: Unexpected junk after function declaration at (1) In file cuda_mem_alloc.f90:33 USE iso_c_binding 1 Error: Unexpected USE statement in INTERFACE block at (1) In file cuda_mem_alloc.f90:34 IMPLICIT NONE 1 Error: Unexpected IMPLICIT NONE statement in INTERFACE block at (1) In file cuda_mem_alloc.f90:35 INTEGER (C_INT) :: cudaFreeHost 1 Error: Parameter 'c_int' at (1) has not been declared or is a variable, which does not reduce to a constant expression In file cuda_mem_alloc.f90:36 TYPE (C_PTR), value :: buffer 1 Error: Derived type 'c_ptr' at (1) is being used before it is defined In file cuda_mem_alloc.f90:37 END FUNCTION cudaFreeHost 1 Error: Expecting END INTERFACE statement at (1) make[2]: *** [cuda_mem_alloc.o] Error 1 make[2]: Leaving directory `/clhome/src/espresso-4.3.2-GPU/Modules/cuda' mpif90 -O3 -g -fopenmp -x f95-cpp-input -fopenmp -D__GFORTRAN -D__STD_F95 -D__FFTW -D__MPI -D__PARA -D__CUDA -D__GPU_NVIDIA_13 -D__PHIGEMM -D__CUDA_QE_TIMING -D__OPENMP -I../include -I/clhome/src/espresso-4.3.2-GPU/phiGEMM/include -I/opt/cuda/include -I../iotk/src -I. -I. -I./cuda -c environment.f90 In file environment.f90:13 USE ISO_C_BINDING 1 Fatal Error: Can't open module file 'iso_c_binding.mod' for reading at (1): No such file or directory make[1]: *** [environment.o] Error 1 make[1]: Leaving directory `/clhome/src/espresso-4.3.2-GPU/Modules' make: *** [mods] Error 2 [root@gpupbl01 espresso-4.3.2-GPU]# exit Script done on Thu 12 Jul 2012 05:20:17 PM CDT