I tired the following without success...
[xavier@CE-CLYX01 build]$ su
Password:
[root@CE-CLYX01 build]# export FC=gfortran
[root@CE-CLYX01 build]# export CC=gcc
[root@CE-CLYX01 build]# cmake -DWITH_ELMERGUI:BOOL=FALSE -DWITH_MPI:BOOL=FALSE -DCMAKE_INSTALL_PREFIX=../install ../elmerfem
Code: Select all
-- A library with BLAS API found.
-- A library with BLAS API found.
-- A library with LAPACK API found.
-- Checking whether /usr/bin/f95 supports CONTIGUOUS
-- Checking whether /usr/bin/f95 supports CONTIGUOUS -- no
-- Checking whether /usr/bin/f95 supports EXECUTE_COMMAND_LINE
-- Checking whether /usr/bin/f95 supports EXECUTE_COMMAND_LINE -- no
-- ------------------------------------------------
-- BLAS library: /usr/lib64/libblas.so
-- LAPACK library: /usr/lib64/liblapack.so;/usr/lib64/libblas.so
-- ------------------------------------------------
-- Fortran compiler: /usr/bin/f95
-- Fortran flags:
-- ------------------------------------------------
-- C compiler: /usr/bin/cc
-- C flags:
-- ------------------------------------------------
-- Fortran compiler: /usr/bin/f95
-- ------------------------------------------------
-- C compiler: /usr/bin/cc
-- ------------------------------------------------
-- C++ compiler: /usr/bin/c++
-- ------------------------------------------------
-- ------------------------------------------------
-- Package filename: elmerfem-7.0-d1c250a-20150210_Linux-x86_64
-- Patch version: 7.0-d1c250a
-- Configuring done
-- Generating done
-- Build files have been written to: /home/xavier/Downloads/Software/Elmer_CMAKE/build
Code: Select all
[ 1%] Built target matc
[ 1%] Built target Matc_bin
[ 1%] Built target umfpack_srcs
[ 49%] Built target umfpack
[ 53%] Built target amd
[ 53%] Built target amdf77
[ 54%] Built target fhuti
[ 56%] Built target Mesh2D
[ 62%] Built target arpack
[ 62%] Built target binio
[ 63%] Built target mpi_stubs
[ 63%] Building Fortran object fem/src/CMakeFiles/elmersolver.dir/LoadMod.F90.o
/home/xavier/Downloads/Software/Elmer_CMAKE/build/fem/src/LoadMod.F90:509.22:
intval = pptr(model, solver, mtr, b, x, n, DOFs, nrm)
1
/home/xavier/Downloads/Software/Elmer_CMAKE/build/fem/src/LoadMod.F90:572.54:
M, D, S, F, element, nrow, ncol)
2
Error: Global name 'pptr' at (1) is already being used as a SUBROUTINE at (2)
/home/xavier/Downloads/Software/Elmer_CMAKE/build/fem/src/LoadMod.F90:458.22:
realval = pptr(model, element, nodes, n, nd, &
1
/home/xavier/Downloads/Software/Elmer_CMAKE/build/fem/src/LoadMod.F90:572.54:
M, D, S, F, element, nrow, ncol)
2
Error: Global name 'pptr' at (1) is already being used as a SUBROUTINE at (2)
/home/xavier/Downloads/Software/Elmer_CMAKE/build/fem/src/LoadMod.F90:371.22:
realval = pptr(model, node, val)
1
/home/xavier/Downloads/Software/Elmer_CMAKE/build/fem/src/LoadMod.F90:572.54:
M, D, S, F, element, nrow, ncol)
2
Error: Global name 'pptr' at (1) is already being used as a SUBROUTINE at (2)
/home/xavier/Downloads/Software/Elmer_CMAKE/build/fem/src/LoadMod.F90:345.22:
realval = pptr(model, x, y, z)
1
/home/xavier/Downloads/Software/Elmer_CMAKE/build/fem/src/LoadMod.F90:572.54:
M, D, S, F, element, nrow, ncol)
2
Error: Global name 'pptr' at (1) is already being used as a SUBROUTINE at (2)
/home/xavier/Downloads/Software/Elmer_CMAKE/build/fem/src/LoadMod.F90:321.21:
intval = pptr(model)
1
/home/xavier/Downloads/Software/Elmer_CMAKE/build/fem/src/LoadMod.F90:572.54:
M, D, S, F, element, nrow, ncol)
2
Error: Global name 'pptr' at (1) is already being used as a SUBROUTINE at (2)
make[3]: *** [fem/src/CMakeFiles/elmersolver.dir/LoadMod.F90.o] Error 1
make[2]: *** [fem/src/CMakeFiles/elmersolver.dir/LoadMod.F90.o.provides] Error 2
make[1]: *** [fem/src/CMakeFiles/elmersolver.dir/all] Error 2
make: *** [all] Error 2
/Xavi