Problem with open64

option, parallelism,...

Moderators: fgoudreault, mcote

Forum rules
Please have a look at ~abinit/doc/config/build-config.ac in the source package for detailed and up-to-date information about the configuration of Abinit 8 builds.
For a video explanation on how to build Abinit 7.x for Linux, please go to: http://www.youtube.com/watch?v=DppLQ-KQA68.
IMPORTANT: when an answer solves your problem, please check the little green V-like button on its upper-right corner to accept it.
Locked
iangay
Posts: 2
Joined: Sat Jan 30, 2010 2:23 am

Problem with open64

Post by iangay » Sat Jan 30, 2010 2:37 am

I have compiled abinit 5.8.3 with openf90, for the first time. Something strange happens. Compilation proceeds ok, and
all of the tests I have tried (v1, v2 etc) run ok, via make tests_xx in the tests directory.

However, when I simply try to run abinis on some other calculation, via
abinis <stuff.files >stuff.log
the program starts ok, but consistently segfaults after 4096 bytes of the log file have been written!
I have tried some of the test inputs in the same way with the same result.

There are no such problems on my system with Intel or gfortran builds.

Any idea what's happening?

Ian

gonze
Posts: 412
Joined: Fri Aug 14, 2009 8:29 pm

Re: Problem with open64

Post by gonze » Sat Jan 30, 2010 5:45 pm

Dear Ian,

Not a direct a direct answer to your mail, but some relevant information :
nearly one year ago, we made a big effort to test
ABINIT + plugins (BigDFT, ETSF-IO, LibXC, Wannier90) on nearly all the available Fortran
compilers for Intel/XEON/AMD platforms, and several other platforms (Itanium, IBM, MacOSX).
The goal was to have all automatic tests working correctly.
We succeeded to do this for Intel Fortran compiler, GFort, G95, Pathscale, as well as XLF,
but not for Open64, PGI, and some other compiler (I am not sure which one).
Because we tried hard, and ABINIT works well on 5 compilers
we tend to believe that there were bugs in Open64 and PGI.

I do not remember whether the problems encountered with these compilers were the same
as yours.

Best,
X

anusindhe
Posts: 1
Joined: Thu Mar 18, 2010 8:03 am

Re: Problem with open64

Post by anusindhe » Fri Mar 19, 2010 11:32 am

>>>
I have compiled abinit 5.8.3 with openf90, for the first time. Something strange happens. Compilation proceeds ok, and
all of the tests I have tried (v1, v2 etc) run ok, via make tests_xx in the tests directory.

However, when I simply try to run abinis on some other calculation, via
abinis <stuff.files >stuff.log
the program starts ok, but consistently segfaults after 4096 bytes of the log file have been written!
I have tried some of the test inputs in the same way with the same result.
>>>>

What was the Open64 version used? There is a new open64 version-4.2.3.1 available at
http://developer.amd.com/cpu/open64/pages/default.aspx
Have you tried that and still having issues?

You may want to post issues you are facing at
http://forums.amd.com/devforum/categories.cfm?catid=373&entercat=y,
and get quicker response from the Open64 team at AMD.


I have cross posted this issue on the AMD Open64 forums, to get you appropriate help. The link is:
http://forums.amd.com/devforum/messageview.cfm?catid=373&threadid=130061&enterthread=y

Thanks
Anusindhe

mverstra
Posts: 655
Joined: Wed Aug 19, 2009 12:01 pm

Re: Problem with open64

Post by mverstra » Sat Mar 20, 2010 9:28 am

Hello,

if your tests run ok, then abinit is fine. Try

Code: Select all

which abinis


from the command line: I suspect that there is an old and/or bad abinis in your path which is not the one you compiled.
Also, we need the 4096 bytes of log to get an idea

Further run:

Code: Select all

gdb abinis
run < t.files


Matthieu
Matthieu Verstraete
University of Liege, Belgium

Locked