Closed shaharkadmiel closed 4 years ago
I am having another go at this:
In the ncpaprop dir I did:
./configure --disable-library-guess \
CXX=gcc CC=gcc FC=gfortran
gcc
is version 7.3.0 (Homebrew GCC 7.3.0_1) and gcc
, g++
, and gfortran
all point to the same version.
I got a positive output which ends in all Makefiles being created:
...
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/extern/Makefile
config.status: creating src/common/Makefile
config.status: creating src/atmosphere/Makefile
config.status: creating src/raytrace/Makefile
config.status: creating src/modess/Makefile
config.status: creating src/modbb/Makefile
config.status: creating src/modess_rd_1wcm/Makefile
config.status: creating src/pade_pe/Makefile
config.status: creating src/wmod/Makefile
config.status: creating src/cmodess/Makefile
config.status: creating src/cmodbb/Makefile
config.status: creating src/tdpape/Makefile
config.status: creating src/wnlrt/Makefile
config.status: creating test/Makefile
I went on to make
and made it as far as the .petsc-complex
target. First I got:
===============================================================================
Configuring PETSc to compile on your system
===============================================================================
TESTING: checkCxxCompiler from config.setCompilers(config/BuildSystem/config/set
*******************************************************************************
UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details):
-------------------------------------------------------------------------------
Cannot use C compiler gcc as the C++ compiler passed in with --with-cxx
*******************************************************************************
and compilation terminated.
I edited the src/extern/Makefile
and removed the --with-cxx
flag although it feels weird to have the --with-clanguage=cxx
flag with only the --with-cc
flag.
Now make
made it to the .slepc-real
target and died in the testing phase after this error:
...
C/C++ example src/eps/examples/tests/test10 run successfully with 1 MPI process
Possible error running Fortran src/eps/examples/tests/test7f with 1 MPI process
All requested eigenvalues computed up to the required tolerance:
3.98974, 3.95906, 3.90828, 3.83792
1-D Laplacian Eigenproblem, n = 30 (Fortran)
Solution method: krylovschur
Number of requested eigenvalues: 4
make[4]: *** [makefile:186: testtest7f] Error 1
make[3]: *** [makefile:134: test_build] Error 2
At this point I don't know how to move forward...
Sorry for the delay. The configuration process has been completely rewritten and updated. Please see the new manual for details, but in short, you can try to run:
./configure --with-localpetsc
to have the build process download and install PETSc/SLEPc for you while it's setting things up.
Hi,
Trying to recompile this package on a new Mac running macOS Sierra.
./configure
works fine but thenmake
exits with the following error:Looking at the
configure.log
everything seems to be okay... well, I cant see any errors there.Any Ideas?