Chameleon not compiling
I have some troubles with the last revision of chameleon. It is not compiling using this formula chameleon@mastersimu+starpu+fxtmpi.
These are the last lines of spack-build.out:
VerifyFortran.f:(.text+0x2b): undefined reference to `_gfortran_st_write'
VerifyFortran.f:(.text+0x3d): undefined reference to `_gfortran_transfer_character_write'
VerifyFortran.f:(.text+0x45): undefined reference to `_gfortran_st_write_done'
collect2: error: ld returned 1 exit status
CMakeFiles/VerifyFortranC.dir/build.make:124: recipe for target 'VerifyFortranC' failed
make[2]: *** [VerifyFortranC] Error 1
make[2]: Leaving directory '/tmp/vgpinto/spack-stage/spack-stage-LEWw5m/chameleon/spack-build/CMakeFiles/FortranCInterface/VerifyC'
CMakeFiles/Makefile2:70: recipe for target 'CMakeFiles/VerifyFortranC.dir/all' failed
make[1]: *** [CMakeFiles/VerifyFortranC.dir/all] Error 2
make[1]: Leaving directory '/tmp/vgpinto/spack-stage/spack-stage-LEWw5m/chameleon/spack-build/CMakeFiles/FortranCInterface/VerifyC'
Makefile:86: recipe for target 'all' failed
make: *** [all] Error 2
Call Stack (most recent call first):
CMakeLists.txt:65 (FortranCInterface_VERIFY)
-- Configuring incomplete, errors occurred!
I am using the following commands to install spack and then chameleon:
git clone https://github.com/solverstack/spack.git
cd spack
git checkout morse
export SPACK_ROOT=$PWD
. $SPACK_ROOT/share/spack/setup-env.sh
spack install chameleon@master~simu+starpu+fxt~mpi
gfortran and gcc version 5.4.0
There are some recent changes related to fortran in the commit 6cd463e6 but I'm not sure that they are related to this issue.