On my IBM xlf 12.1 linux platform I still have a problem with the latest 6.7.0 version of timeout.c:
mpicc -DHAVE_CONFIG_H -I. -I../.. -I../../../tests/Nightly -O0 -qlanglvl=stdc99 -O3 -q64 -qspill=2000 -qarch=pwr6 -qtune=auto -qcache=auto -qstrict -qsuppress=1520-031:1520-003 -c -o timeout-timeout.o `test -f 'timeout.c' || echo '../../../tests/Nightly/'`timeout.c
1506-352 (W) An invalid combination of the -qarch and -qtune options has been specified. The -qtune option is ignored.
"../../../tests/Nightly/timeout.c", line 131.28: 1506-280 (S) Function argument assignment between types "union {...}" and "int*" is not allowed.
Does not influence normal abinit build, but nightly fails.
Matthieu
timeout.c compilation on ibm [SOLVED]
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.
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.
timeout.c compilation on ibm
Matthieu Verstraete
University of Liege, Belgium
University of Liege, Belgium
Re: timeout.c compilation on ibm
still a problem in 6.7.1...
Matthieu Verstraete
University of Liege, Belgium
University of Liege, Belgium
Re: timeout.c compilation on ibm
What happens if you set the following:
or replace it on the coomand line?
Code: Select all
CFLAGS_EXTRA="-qlanglvl=extc99"
or replace it on the coomand line?
Yann Pouillon
Simune Atomistics
Donostia-San Sebastián, Spain
Simune Atomistics
Donostia-San Sebastián, Spain
Re: timeout.c compilation on ibm
that works, great! Should we change the .ac files in the distribution?
Matthieu
Matthieu
Matthieu Verstraete
University of Liege, Belgium
University of Liege, Belgium
Re: timeout.c compilation on ibm [SOLVED]
Done in pouillon/6.6.2-public/567.
Yann Pouillon
Simune Atomistics
Donostia-San Sebastián, Spain
Simune Atomistics
Donostia-San Sebastián, Spain