Error on compiling CAMB FORTRAN
Posted: August 22 2023
Hello dear people,
I have been manipulating the CAMB code for a specific dark energy model. Anyhow, once I compile the FORTRAN CAMB code in the terminal by making "make" I get the following message:
ifort: command line error: '-fminshared' conflicts with '-fpic'
make: *** [Releaselib/constants.o] Error 1
I'm using the latest version of ifort 2021.10.0 20230609 in my Mac with the Intel Chip. Do you know how to fix this? I'm using the CAMB version November 2016 for special reasons.
I'm hope you can give me a hand on this.
Thank you
I have been manipulating the CAMB code for a specific dark energy model. Anyhow, once I compile the FORTRAN CAMB code in the terminal by making "make" I get the following message:
ifort: command line error: '-fminshared' conflicts with '-fpic'
make: *** [Releaselib/constants.o] Error 1
I'm using the latest version of ifort 2021.10.0 20230609 in my Mac with the Intel Chip. Do you know how to fix this? I'm using the CAMB version November 2016 for special reasons.
I'm hope you can give me a hand on this.
Thank you