Installation issue
I'm sorry If this is not the correct place to ask for help, but I could not find any other place where to.
I have Os X 10.11, anaconda python (both 2.7 and 3.X), and g95 fortran compiler installed through macports.
I tried installing ode spy by the following command (after having activated the right conda environment)
pip install -e git+https://github.com/hplgit/odespy.git#egg=odespy
And I get the following error I am not able to solve:
Found executable /opt/local/bin/g95
customize G95FCompiler
customize G95FCompiler using build_clib
building '_rkf45' library
compiling Fortran sources
Fortran f77 compiler: /opt/local/bin/g95 -ffixed-form -fno-second-underscore -O
Fortran f90 compiler: /opt/local/bin/g95 -fno-second-underscore -O
Fortran fix compiler: /opt/local/bin/g95 -ffixed-form -fno-second-underscore -O
compile options: '-I/Users/Filippo/anaconda/envs/ecpy-env/lib/python2.7/site-packages/numpy/core/include -I/Users/Filippo/anaconda/envs/ecpy-env/include/python2.7 -I/Users/Filippo/anaconda/envs/ecpy-env/include/python2.7 -c'
g95:f77: odespy/rkf45/advance_rkf45.f
g95:f77: odespy/rkf45/rkf45.f
g95:f77: odespy/rkf45/rkf45_associate.f
In file odespy/rkf45/rkf45_associate.f:1053
write(iwunit,fmt) ccplus,(messgp(i),i=1,nwp)
1
Error: FORMAT tag at (1) must be a scalar integer variable
In file odespy/rkf45/rkf45_associate.f:1053
write(iwunit,fmt) ccplus,(messgp(i),i=1,nwp)
1
Error: FORMAT tag at (1) must be a scalar integer variable
error: Command "/opt/local/bin/g95 -ffixed-form -fno-second-underscore -O -I/Users/Filippo/anaconda/envs/ecpy-env/lib/python2.7/site-packages/numpy/core/include -I/Users/Filippo/anaconda/envs/ecpy-env/include/python2.7 -I/Users/Filippo/anaconda/envs/ecpy-env/include/python2.7 -c -c odespy/rkf45/rkf45_associate.f -o build/temp.macosx-10.5-x86_64-2.7/odespy/rkf45/rkf45_associate.o" failed with exit status 1
Here is the full log.
This is a strange error message (the rkf45 code has been widely tested for decades). One way out of the trouble is to turn off all Fortran codes with the --no-fortran option, see the installation instructions on the main page.