Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make config error #603

Open
Tsukimane opened this issue Jul 9, 2023 · 1 comment
Open

make config error #603

Tsukimane opened this issue Jul 9, 2023 · 1 comment

Comments

@Tsukimane
Copy link

really sorry if it is a repeat, but I have a problem with installing QUIP on a cluster. this error keeps showing up then running make config. gfortran version is 11.2.0 installed with conda.

Unable to determine SIZEOF_FORTRAN_T
Check that your compiler is working and try again!
Build error:
make[1]: Entering directory `/home/users/ot/sctms11/QUIP/build/linux_x86_64_gfortran'
gfortran -x f95-cpp-input -ffree-line-length-none -ffree-form -fno-second-underscore -fPIC -fno-realloc-lhs -I/home/users/ot/sctms11/QUIP/src/libAtoms -I/home/users/ot/sctms11/QUIP/src/fox/objs.linux_x86_64_gfortran/finclude -O3  -DGETARG_F2003 -DGETENV_F2003 -DGFORTRAN -DFORTRAN_UNDERSCORE -D'GIT_VERSION="https://github.com/libAtoms/QUIP.git,v0.9.14"' -D'GAP_VERSION=1686220958' -D'QUIP_ARCH="linux_x86_64_gfortran"' -D'SIZEOF_FORTRAN_T=' -DHAVE_GAP -DHAVE_PRECON -DHAVE_QR -DHAVE_LOTF   sizeof_fortran_t.f90 -o sizeof_fortran_t
f951: Warning: Nonexistent include directory '/home/users/ot/sctms11/QUIP/src/fox/objs.linux_x86_64_gfortran/finclude' [-Wmissing-include-dirs]
/home/users/ot/sctms11/miniconda3/bin/../lib/gcc/x86_64-conda-linux-gnu/11.2.0/../../../../x86_64-conda-linux-gnu/bin/ld: /home/users/ot/sctms11/miniconda3/bin/../lib/gcc/x86_64-conda-linux-gnu/11.2.0/../../../../x86_64-conda-linux-gnu/lib/../lib64/libgcc_s.so.1: undefined reference to `memcpy@GLIBC_2.14'
collect2: error: ld returned 1 exit status
make[1]: *** [sizeof_fortran_t] Error 1
make[1]: Leaving directory `/home/users/ot/sctms11/QUIP/build/linux_x86_64_gfortran'

@gabor1
Copy link
Contributor

gabor1 commented Aug 30, 2023

It's a bit hard to debug these kinds of problems remotely. Find the source file "sizeof_fortran_t.f90" within the QUIP source tree, and try to compile it with your chosen compiler by hand. once that succeeds, we can identify the problem with the compile attempts of the make process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants