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

Let's have the makefiles cry with very old compiler versions #637

Open
stenczelt opened this issue Apr 10, 2024 · 1 comment
Open

Let's have the makefiles cry with very old compiler versions #637

stenczelt opened this issue Apr 10, 2024 · 1 comment

Comments

@stenczelt
Copy link
Member

TLDR

Apparently (some) very old compilers cannot build QUIP, as we are using stuff that was not supported in gfortran say ~9 years ago. Makes sense. Is there an easy way to complain in the makefiles if the detected compiler version is below a specified version that we last tested?

What I know so far is that gfortran 4.8.5 will not do the trick.

More details

The issue came in from someone trying to install QUIP+GAP with CASTEP and failing as:

/[..path removed..]/QUIP/src/libAtoms/MPI_context.f95:63.43:

character(len=:), allocatable :: hostname
                                         1
Error: Deferred-length character component 'hostname' at (1) is not yet supported
/[..path removed..]/QUIP/src/libAtoms/MPI_context.f95:63.43:

character(len=:), allocatable :: hostname
                                         1
Error: Deferred-length character component 'hostname' at (1) is not yet supported
make[1]: *** [MPI_context.o] Error 1
make[1]: Leaving directory `/[..path removed..]/QUIP/build/linux_x86_64_gfortran_openmp'
make: *** [libAtoms] Error 2

gfortran --version:

GNU Fortran (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)
Copyright (C) 2015 Free Software Foundation, Inc.
Copy link
Contributor

gabor1 commented Apr 10, 2024

We can just update the docs

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