Vinod Solet
unread,Jun 2, 2023, 6:18:47 AM6/2/23Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to BerkeleyGW Help, Mauro Del Ben, BerkeleyGW Help, Vinod Solet
Thank to you Mauro Del Ben for your reply.
But after your suggestion, i got error like this
hdf5_io_safe.p.f:(.text+0x793): undefined reference to `__h5d_MOD_h5dcreate_f'
/usr/bin/ld: Common/hdf5_io_safe.o: in function `__hdf5_io_safe_m_MOD_safe_h5screate_simple':
hdf5_io_safe.p.f:(.text+0x7d3): undefined reference to `__h5s_MOD_h5screate_simple_f'
collect2: error: ld returned 1 exit status
make[2]: *** [Common/
common-rules.mk:212: Common/test_evecs.real.x] Error 1
make[2]: Leaving directory '/home/vinod/programs/BerkeleyGW-3.0.1'
make[1]: *** [Makefile:8: pre] Error 2
make[1]: Leaving directory '/home/vinod/programs/BerkeleyGW-3.0.1'
make: *** [Makefile:115: all] Error 2
#F90free = /usr/bin/mpif90 -ffree-form -ffree-line-length-none -Wall
F90free = /usr/bin/mpif90 -ffree-form -ffree-line-length-none -fbounds-check -Wintrinsic-shadow -std=gnu -fopenmp
#F90free = /usr/bin/mpif90 -ffree-form -ffree-line-length-none -fbounds-check -Wall -pedantic-errors -std=gnu -fopenmp
#F90free = /usr/bin/mpif90 -ffree-form -ffree-line-length-none -fbounds-check -fbacktrace -ffpe-trap=invalid,zero,overflow
# denormal not supported, according to runtime error
# precision is flagged by cputime:
http://gcc.gnu.org/onlinedocs/gcc-4.5.3/gfortran/Debugging-Options.html# underflow is flagged by dlamch from lapack
LINK = /usr/bin/mpif90 -fopenmp
FOPTS = -O3
#FOPTS = -g -C
FNOOPTS = $(FOPTS)
MOD_OPT = -J
INCFLAG = -I
C_PARAFLAG = -DPARA
CC_COMP = /usr/bin/mpiCC
C_COMP = /usr/bin/mpicc
C_LINK = /usr/bin/mpiCC
C_OPTS = -O3
C_DEBUGFLAG =
REMOVE = /bin/rm -f
# Math Libraries
#
MKLPATH = $(MKLROOT)/lib/intel64
FFTWLIB = -Wl,--start-group \
$(MKLPATH)/libmkl_intel_lp64.a \
$(MKLPATH)/libmkl_intel_thread.a \
$(MKLPATH)/libmkl_core.a \
-Wl,--end-group -liomp5 -lpthread -lm -ldl
FFTWINCLUDE = $(MKLROOT)/include/fftw
# Math Libraries
#
#FFTWLIB = -L/usr/lib/x86_64-linux-gnu -lfftw3 -lfftw3_threads
#FFTWINCLUDE = /usr/include
# FHJ: Note: manually compiled threaded LAPACK and ScaLAPACK on tigger
LAPACKLIB = /usr/lib/x86_64-linux-gnu/liblapack.a -L/usr/lib/x86_64-linux-gnu -lblas
SCALAPACKLIB = /home/vinod/programs/scalapack-2.2.0/libscalapack.a
HDF5LIB = -L/home/vinod/programs/hdf5-1.14.1/hdf/HDF_Group/HDF5/1.14.1/lib -lhdf5_hl -lhdf5 -lz
HDF5INCLUDE = /home/vinod/programs/hdf5-1.14.1/hdf/HDF_Group/HDF5/1.14.1/include
#need to export MPIEXEC=/usr/bin/mpirun if this is not default in `which mpiexec`
TESTSCRIPT = make check-parallel
69,1 Bot
Thank you in advance.