Hi,
today I spent some time to update my Code_Aster installation on the MacBook with the
latest stable version. Things went "okay" for HDF, Metis, Scotch and others. I re-used
some of the original patches from the Wiki. However, I have some challenges now using
the new compiling engine included, waf. I,m curious to hear if anybody had success ?
I'm using Gcc/gfortran 4.6.3 that I compiled from src. Looks like some of the war settings
will have to be tweaking in the aster-11.4.0-pkg.tar.gz file:
Command line : ./waf configure --use-config=auto_config --install-tests --prefix=/opt/aster-11.4.0/11.4
configure aster installation...
Command output :
Setting top to : /private/var/folders/8b/hj8b3wl90pq08mr4zqtf0njw0000gn/T/install_aster.28005/aster-11.4.0
Setting out to : /private/var/folders/8b/hj8b3wl90pq08mr4zqtf0njw0000gn/T/install_aster.28005/aster-11.4.0/build
Checking for custom configuration : auto_config
Getting Code_Aster version : [(11, 4, 0), '75f09ed53e5a', 'v11', '05/06/2013', 'v11', 0]
fortran link verbose flag : failure
Could not obtain the fortran link verbose flag (see config.log)
(complete log in /private/var/folders/8b/hj8b3wl90pq08mr4zqtf0njw0000gn/T/install_aster.28005/aster-11.4.0/build/config.log)
EXIT_COMMAND_28005_00000052=1
configure aster installation... [FAILED]
Exit code : 1
Setting top to : /private/var/folders/8b/hj8b3wl90pq08mr4zqtf0njw0000gn/T/install_aster.28005/aster-11.4.0
Setting out to : /private/var/folders/8b/hj8b3wl90pq08mr4zqtf0njw0000gn/T/install_aster.28005/aster-11.4.0/build
Checking for custom configuration : auto_config
Getting Code_Aster version : [(11, 4, 0), '75f09ed53e5a', 'v11', '05/06/2013', 'v11', 0]
fortran link verbose flag : failure
Could not obtain the fortran link verbose flag (see config.log)
(complete log in /private/var/folders/8b/hj8b3wl90pq08mr4zqtf0njw0000gn/T/install_aster.28005/aster-11.4.0/build/config.log)
EXIT_COMMAND_28005_00000052=1
project configured on Sun Sep 22 18 2013 by
# waf 1.6.10 (abi 98, python 20702f0 on darwin)
# using ./waf configure --use-config=auto_config --install-tests --prefix=/opt/aster-11.4.0/11.4
#
----------------------------------------
Setting top to
/private/var/folders/8b/hj8b3wl90pq08mr4zqtf0njw0000gn/T/install_aster.28005/aster-11.4.0
----------------------------------------
Setting out to
/private/var/folders/8b/hj8b3wl90pq08mr4zqtf0njw0000gn/T/install_aster.28005/aster-11.4.0/build
----------------------------------------
Checking for custom configuration
auto_config
----------------------------------------
Getting Code_Aster version
[(11, 4, 0), '75f09ed53e5a', 'v11', '05/06/2013', 'v11', 0]
----------------------------------------
fortran link verbose flag
==>
PROGRAM MAIN
END
<==[1/2] fc: build/.conf_check_ad76e8609545884f267d581d69469b48/test.f -> build/.conf_check_ad76e8609545884f267d581d69469b48/testbuild/test.f.1.o
['/opt/gcc-4.6.3/bin/gfortran-4.6.3', '/opt/aster-11.4.0/public/hdf5-1.8.8/include', '/opt/aster-11.4.0/public/med-3.0.6/include', '/opt/aster-11.4.0/public
/metis-4.0.3/include', '/opt/aster-11.4.0/public/scotch_5.1.11_esmumps/include', 'USE_OPENMP=1', '/private/var/folders/8b/hj8b3wl90pq08mr4zqtf0njw0000gn/T/i
nstall_aster.28005/aster-11.4.0/build/.conf_check_ad76e8609545884f267d581d69469b48/testbuild/test.f.1.o', '/private/var/folders/8b/hj8b3wl90pq08mr4zqtf0njw0
000gn/T/install_aster.28005/aster-11.4.0/build/.conf_check_ad76e8609545884f267d581d69469b48/test.f']
err: gfortran-4.6.3: error: USE_OPENMP=1: No such file or directory
gfortran-4.6.3: error: /private/var/folders/8b/hj8b3wl90pq08mr4zqtf0njw0000gn/T/install_aster.28005/aster-11.4.0/build/.conf_check_ad76e8609545884f267d581d6
9469b48/testbuild/test.f.1.o: No such file or directory
from /private/var/folders/8b/hj8b3wl90pq08mr4zqtf0njw0000gn/T/install_aster.28005/aster-11.4.0: Test does not build: Traceback (most recent call last): File "/private/var/folders/8b/hj8b3wl90pq08mr4zqtf0njw0000gn/T/install_aster.28005/aster-11.4.0/.waf-1.6.10-84fbc87adc22fe809febcc192afd90b1/waflib/Tools/c_config.py", line 445, in run_c_code bld.compile()
File "/private/var/folders/8b/hj8b3wl90pq08mr4zqtf0njw0000gn/T/install_aster.28005/aster-11.4.0/.waf-1.6.10-84fbc87adc22fe809febcc192afd90b1/waflib/Build.
py", line 190, in compile raise Errors.BuildError(self.producer.error)
BuildError: Build failed
-> task failed (exit status 1):
{task 4545751504: fc test.f -> test.f.1.o}
...
Thanks
PO