Compilation on IBM AIX Power6 (@Garching)
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.
Compilation on IBM AIX Power6 (@Garching)
Hi people,
did any one of you manage to successfully compile abinit on a IBM AIX 6.1 system using IBMs xlf compiler?
Cheers,
Bjoern
did any one of you manage to successfully compile abinit on a IBM AIX 6.1 system using IBMs xlf compiler?
Cheers,
Bjoern
Re: Compilation on IBM AIX Power6 (@Garching)
Hi,
yes... (working with abinit 6.2.3 and soon with 6.4.1 )
on a Power6 ( OpenPower 510 AIX 6.1 ) with these options for configure :
regards
jmb
yes... (working with abinit 6.2.3 and soon with 6.4.1 )
on a Power6 ( OpenPower 510 AIX 6.1 ) with these options for configure :
Code: Select all
CPP="/usr/lpp/xlf/bin/cpp"
CC="/usr/lpp/ppe.poe/bin/mpcc_r"
CFLAGS="-qlanglvl=stdc99 -O3 -q64 -qspill=2000 -qarch=pwr6 -qtune=auto -qcache=auto -qstrict -qsuppress=1520-031:1520-003"
CXX="/usr/lpp/ppe.poe/bin/mpCC_r"
FC="/usr/lpp/ppe.poe/bin/mpxlf90_r"
FCFLAGS="-O3 -q64 -lxlopt -bmaxdata:2000000000 -qarch=pwr6 -qtune=auto -qstrict -qsuppress=1520-031:1520-003 -qmaxmem=-1 -qcache=auto"
enable_fc_wrapper="no"
fcflags_opt_63_bader="-O3 -q64 -bmaxdata:2000000000 -qarch=pwr6 -qtune=auto -qstrict -qsuppress=1520-031:1520-003 -qmaxmem=-1 -qcache=auto"
AR="ar"
ARFLAGS_EXTRA="-X64"
enable_mpi="yes"
enable_mpi_io="no"
enable_64bit_flags="yes"
enable_optim="yes"
MPI_RUNNER="/usr/lpp/ppe.poe/bin/poe"
enable_linalg="no"
with_netcdf_includes="-I/usr/local/netcdf/include"
with_netcdf_libs="-L/usr/local/netcdf/lib -lnetcdf"
enable_gw_dpc="yes"
enable_all_plugins="yes"
enable_maintainer_checks="no"
enable_test_timeout="yes"
with_fc_vendor="ibm"
with_fc_version="12.1"
regards
jmb
------
Jean-Michel Beuken
Computer Scientist
Jean-Michel Beuken
Computer Scientist
Re: Compilation on IBM AIX Power6 (@Garching)
Thanks for your reply. Unfortunately, configure stops with
Any idea what I am doing wrong?
Bjoern
Code: Select all
==============================================================================
=== C support ===
==============================================================================
checking for gcc... /usr/lpp/ppe.poe/bin/mpcc_r
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: in `/u/bob/abinit-6.2.3':
configure: error: cannot run C compiled programs.
Any idea what I am doing wrong?
Bjoern
Re: Compilation on IBM AIX Power6 (@Garching)
Look for the last "failed" in config.log and check what configure is complaining about.
If it is a question of missing libraries, adjust your LD_LIBRARY_PATH to include /usr/lpp/lpp.poe/lib or similar. Supposing you use bash:
If it is a question of missing libraries, adjust your LD_LIBRARY_PATH to include /usr/lpp/lpp.poe/lib or similar. Supposing you use bash:
Code: Select all
export LD_LIBRARY_PATH="/usr/lpp/lpp.poe/lib:$LD_LIBRARY_PATH"
Yann Pouillon
Simune Atomistics
Donostia-San Sebastián, Spain
Simune Atomistics
Donostia-San Sebastián, Spain
Re: Compilation on IBM AIX Power6 (@Garching)
OK, that error was down to a missing hostfile for the poe environment...
Now, configure runs but after building LAPACK, make stops with
The weird thing is: when I run config/gnu/install-sh -c -d -m 755 tmp/lib from the command line, it work, just not during make... any ideas?
Now, configure runs but after building LAPACK, make stops with
Code: Select all
LAPACK for ABINIT has been built.
LAPACK for ABINIT has been built.
touch build-stamp
lapack-abinit_6.0 has been built.
config/gnu/install-sh -c -d -m 755 tmp/lib
/usr/bin/sh: config/gnu/install-sh: not found.
The weird thing is: when I run config/gnu/install-sh -c -d -m 755 tmp/lib from the command line, it work, just not during make... any ideas?
Re: Compilation on IBM AIX Power6 (@Garching)
Hello,
it's a "classic" problem...
This is a problem related to the mkdir command, which behaves non-standardly on your system aka not GNU.
before running configure, you may try with:
export MKDIR_P="mkdir -p"
jmb
it's a "classic" problem...
This is a problem related to the mkdir command, which behaves non-standardly on your system aka not GNU.
before running configure, you may try with:
export MKDIR_P="mkdir -p"
jmb
------
Jean-Michel Beuken
Computer Scientist
Jean-Michel Beuken
Computer Scientist
Re: Compilation on IBM AIX Power6 (@Garching)
This problem should now be fixed in 6.4.1.
Yann Pouillon
Simune Atomistics
Donostia-San Sebastián, Spain
Simune Atomistics
Donostia-San Sebastián, Spain