Trying to compile CAMB under windows so that I can create a python wrapper and automate the generation of many different parameterisations of power spectra.
Unfortunately, whilst I can compile fine in Cygwin, I cannot call this version of the program from Python without vast difficulty (currently unsolved difficulty).
As such, I am trying to compile CAMB so that it works in Windows (cmd) and not just cygwin, but am having no luck with any Fortran compiler. When running Make with gfortran, I get the following message:
Code: Select all
C:\camb>make
gfortran -O3 -fopenmp -ffast-math -funroll-loops -c constants.f90
gfortran -O3 -fopenmp -ffast-math -funroll-loops -c utils.F90
gfortran -O3 -fopenmp -ffast-math -funroll-loops -c subroutines.f90
gfortran -O3 -fopenmp -ffast-math -funroll-loops -c inifile.f90
make: Circular modules.o <- .o dependency dropped.
make: Circular modules.o <- .o dependency dropped.
make: Circular modules.o <- .o dependency dropped.
gfortran -O3 -fopenmp -ffast-math -funroll-loops -c modules.f90
modules.f90:30.8:
use InitialPower
1
Fatal Error: Can't open module file 'initialpower.mod' for reading at (1): No such file or directory
make: *** [modules.o] Error 1
Cheers