Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation issue #6

Open
PhilipVinc opened this issue Feb 21, 2016 · 1 comment
Open

Installation issue #6

PhilipVinc opened this issue Feb 21, 2016 · 1 comment

Comments

@PhilipVinc
Copy link

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.

log.txt

@hplgit
Copy link
Owner

hplgit commented Feb 22, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants