VASP with GCC/gfortran on Linux AlphaServer

Questions regarding the compilation of VASP on various platforms: hardware, compilers and libraries, etc.


Moderators: Global Moderator, Moderator

Locked
Message
Author
lahaye
Jr. Member
Jr. Member
Posts: 98
Joined: Fri Apr 14, 2006 5:08 am
Location: Suwon - Korea

VASP with GCC/gfortran on Linux AlphaServer

#1 Post by lahaye » Thu Oct 26, 2006 1:10 am

A few messages back I was struggling with the compilation of VASP
on a Linux AlphaServer system. Finally I succeeded. To prevent others
from reinventing the whieel, just for the record, this is what I needed:

Use an up-to-date version of GCC (4.1.1 or newer).
In the Makefiles, use:

Code: Select all

FC=gfortran
CPP_ =  [...] | cpp -P -C -traditional-cpp >$*.f
FFLAGS = -O -mfp-trap-mode=su -ffree-form
Alternatively, you can use "-mieee" instead of "-mfp-trap-mode=su".

The "-m" flag prevents a runtime underflow SIGSEGV.
Hence, all supporting libraries (BLAS, LAPACK etc.) should be
compiled with the same "-m" flag (either the fp-trap-mode or
ieee), otherwise the executable will SIGSEGV when calling a
library routine.

Rob.
Last edited by lahaye on Thu Oct 26, 2006 1:10 am, edited 1 time in total.

support_vasp
Global Moderator
Global Moderator
Posts: 1817
Joined: Mon Nov 18, 2019 11:00 am

Re: VASP with GCC/gfortran on Linux AlphaServer

#2 Post by support_vasp » Wed Sep 04, 2024 11:56 am

Hi,

We're sorry that we didn’t answer your question. This does not live up to the quality of support that we aim to provide. The team has since expanded. If we can still help with your problem, please ask again in a new post, linking to this one, and we will answer as quickly as possible.

Best wishes,

VASP


Locked