vasp 5.2 fails to run when built with PGI
Posted: Wed Jun 17, 2009 9:08 pm
I recently tried to build vasp 5.2 using the PGI compiler. vasp build ok but segv's upon trying to execute. Both PGI 7.1-5 and 8.0-6 generate the same error in the same place:
#0 0x00000000009985a9 in ftn_str_copy ()
(gdb) where
#0 0x00000000009985a9 in ftn_str_copy ()
#1 0x00000000005c22a0 in reader_ () at reader.f:116
#2 0x00000000004043f5 in vamp () at main.f:474
#3 0x0000000000402600 in main ()
(gdb) list
474 CALL READER( &
475 IO%IU5,IO%IU0,IO%INTERACTIVE,INFO%SZNAM1,INFO%ISTART,INFO%IALGO,MIX%IMIX,MIX%MAXMIX,MIX%MREMOVE, &
476 MIX%AMIX,MIX%BMIX,MIX%AMIX_MAG,MIX%BMIX_MAG,MIX%AMIN, &
477 MIX%WC,MIX%INIMIX,MIX%MIXPRE,IO%LFOUND,INFO%LDIAG,INFO%LREAL,IO%LREALD,IO%LPDENS, &
pgf90 -V
pgf90 8.0-6 64-bit target on x86-64 Linux -tp penryn-64
Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved.
Copyright 2000-2009, STMicroelectronics, Inc. All Rights Reserved.
cat /etc/redhat-release
Red Hat Enterprise Linux AS release 4 (Nahant Update 7)
I am using the makefile: makefile.linux_pg with modifications only to which BLAS library I selected (libgoto). Optimization level is -O2.
Any help appreciated!
#0 0x00000000009985a9 in ftn_str_copy ()
(gdb) where
#0 0x00000000009985a9 in ftn_str_copy ()
#1 0x00000000005c22a0 in reader_ () at reader.f:116
#2 0x00000000004043f5 in vamp () at main.f:474
#3 0x0000000000402600 in main ()
(gdb) list
474 CALL READER( &
475 IO%IU5,IO%IU0,IO%INTERACTIVE,INFO%SZNAM1,INFO%ISTART,INFO%IALGO,MIX%IMIX,MIX%MAXMIX,MIX%MREMOVE, &
476 MIX%AMIX,MIX%BMIX,MIX%AMIX_MAG,MIX%BMIX_MAG,MIX%AMIN, &
477 MIX%WC,MIX%INIMIX,MIX%MIXPRE,IO%LFOUND,INFO%LDIAG,INFO%LREAL,IO%LREALD,IO%LPDENS, &
pgf90 -V
pgf90 8.0-6 64-bit target on x86-64 Linux -tp penryn-64
Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved.
Copyright 2000-2009, STMicroelectronics, Inc. All Rights Reserved.
cat /etc/redhat-release
Red Hat Enterprise Linux AS release 4 (Nahant Update 7)
I am using the makefile: makefile.linux_pg with modifications only to which BLAS library I selected (libgoto). Optimization level is -O2.
Any help appreciated!