Registered Member #3580
Joined Tue Feb 23 2010, 07:31AM
Location: South Africa
posts 9
I have been trying to compile vasp.5.2 without success. Here is my makefile
.SUFFIXES: .inc .f .F
#-----------------------------------------------------------------------
# Makefile for RS 6000/ SP2, SP3 and possibly SP4
#
# on some systems the file mpif.h is located somewhere in the default
# include search path.
# Copying the mpif.h file to the local directory and converting it
# to f90 style does not work (because the system wide mpif.h file
# is included). One solution is to rename the mpif.h file to mpif90.h.
# If the new mpi routines (parallel_new.tar) are used only the file
# pm.inc must be changed accordingly.
#
# Attention:
# =======================
# present default optimisation is -O3, but you might try -O4 as well
#
# several files are optimized less aggressive (see bottom of the makefile),
# since agressive optimisation of those files caused VASP to bomb
# in one or the other compiler version
# because it was impossible to keep track of which file is not
# properly compiled by which version, all files that
# are problematic in one or the other version are compiled
# with lower optimisation
#
# ZHEEVX is not working properly, so please uncomment the line
# #define USE_ZHEEVX
# in subrot.F and wavepre_noio.F
#
#-----------------------------------------------------------------------
# all CPP processed fortran files have the extension .f
SUFFIX=.f
#-----------------------------------------------------------------------
# C-preprocessor define any of the flags given below
# MPI generate parallel version
# NGZhalf charge density reduced in Z direction
# wNGZhalf gamma point only reduced in Z direction
# CACHE_SIZE 5001 for SP3 and Power 3
# 32768 for 550,590,3CT
# 8001 595/397 quad word systems
# scaLAPACK use scaLAPACK
#-----------------------------------------------------------------------
# Precompilation:
# Scalapack -DscaLAPACK gamma version -DwNGZhalf
# half storage for densities and charges -DNGZhalf
# SCALAPACK:
# It is advised to compile with scalapack for large number of processors
# Depending on the processor type the block size must be adapted (line 56 in scala.F)
# on BlueGene the optimal size is 16-64
# synchrone -Dno_async
# By experience, NB=36 is around the better valuefor scalapack blocks in scala.F
# tuned levels:
# no bgl tuned except mpi block control
# -DCACHE_SIZE=4000 -DMPI_BLOCK=40000
# tuned-level 0, replace mpi_alltoall by mpi_allreduce in mpi.F
# -DCACHE_SIZE=4000 -DBGL -DMPI_BLOCK=40000 $*.F >$*.f
# ESSL FFT: IBM version with FFT1D from ESSL
# -DFFT_ESSL
# IBM version to reduce Memory size
# -DBG_DEBUG_OK
#-----------------------------------------------------------------------
#-----------------------------------------------------------------------
# general fortran flags, none required
#-----------------------------------------------------------------------
FFLAGS = -qarch=450d -qtune=450
#-----------------------------------------------------------------------
# optimization:
# optimise for the machine on which the code is compiled
#-----------------------------------------------------------------------
#-----------------------------------------------------------------------
# maybe one need to set an include path (usually not required)
#-----------------------------------------------------------------------
#-----------------------------------------------------------------------
# options for linking
# the following option increases the size of the data frame
# the default makefile does not include support for scaLAPACK
# since problems with scaLAPACK were reported
#
#-----------------------------------------------------------------------
BGSYS = /bgsys/ibm_essl/sles10/prod/opt/ibmmath
###Might try to uncomment this line
#LINK = -g -L$(BGPSYS)/lib -L/opt/ibmmath/lib
LINK = -g
#LIBSCA = /bgpusr1/vezolle/lib
#LIBLOC = /bgpusr1/vezolle/lib
#LIBSCA = /CHPC/usr/local/scalapack
#LIBLOC = /CHPC/usr/local/scalapack
#SCALAPACK = -L$(LIBSCA) -lscalapack -lblacsF77init -lblacs
###Might try to uncomment this line
#SCALAPACK = -L$(LIBSCA) -lscalapack -lblacsF77init_MPI-BGP-0 -lblacs_MPI-BGP-0
#-----------------------------------------------------------------------
# specify 3d-fft to be used with VASP
#-----------------------------------------------------------------------
FFT3D = fftmpi.o fftmpi_map.o fft3dlib.o
#FFT3D = fftmpiessl.o fftmpi_map.o fft3dlib.o
#-----------------------------------------------------------------------
# general rules and compile lines
#-----------------------------------------------------------------------
BASIC= symmetry.o symlib.o lattlib.o random.o
makeparam$(SUFFIX): makeparam.F main.F
#
# MIND: I do not have a full dependency list for the include
# and MODULES: here are only the minimal basic dependencies
# if one strucuture is changed then touch_dep must be called
# with the corresponding name of the structure
#
1501-510 Compilation successful for file poscar.f.
** ini === End of Compilation 1 ===
** splcof === End of Compilation 2 ===
** splcof_n0 === End of Compilation 3 ===
** splcof_nder === End of Compilation 4 ===
** splcpy === End of Compilation 5 ===
** splval === End of Compilation 6 ===
** my_date_and_time === End of Compilation 7 ===
** memory_check === End of Compilation 8 ===
"ini.f", 1500-036 (I) The NOSTRICT option (default at OPT(3)) has the potential to alter the semantics of a program. Please refer to documentation on the STRICT/NOSTRICT option for more information.
"ini.f", 1500-036 (I) The NOSTRICT option (default at OPT(3)) has the potential to alter the semantics of a program. Please refer to documentation on the STRICT/NOSTRICT option for more information.
"ini.f", 1500-036 (I) The NOSTRICT option (default at OPT(3)) has the potential to alter the semantics of a program. Please refer to documentation on the STRICT/NOSTRICT option for more information.
1501-510 Compilation successful for file ini.f.
1517-020: (I) Source file is empty.
** setex.f === End of Compilation 1 ===
"setex.f", 1500-030 (I) INFORMATION: (block data)__1: Additional optimization may be attained by recompiling and specifying MAXMEM option with a value greater than 0.
1501-510 Compilation successful for file setex.f.
"radial.f", line 909.11: 1514-219 (S) Unable to access module symbol file for module setexm. Check path and file permissions of file. Use association not done for this module.
1501-511 Compilation failed for file radial.f.
make: *** [radial.o] Error 1
Registered Member #5662
Joined: Sun Apr 01 2012, 03:38PM
Location: India
posts 3
I am also having this kind of problem with radial.f file.
My system is also SMP System from IBM P595/690.
My error is following-
mpxlf90 -qmaxmem=-1 -qarch=auto -qtune=auto -qcache=auto -qinitauto -O2 -c radial.f
** radial === End of Compilation 1 ===
1585-100 Internal compiler error -- please contact your service representative.
1501-511 Compilation failed for file radial.f.
make: 1254-004 The error code from the last command is 255.