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

Failed to install with ubuntu 16.04 #1

Open
sysmso opened this issue Feb 19, 2019 · 1 comment
Open

Failed to install with ubuntu 16.04 #1

sysmso opened this issue Feb 19, 2019 · 1 comment

Comments

@sysmso
Copy link

sysmso commented Feb 19, 2019

I'm unable to install pysimulators in ubuntu 16.04, with gfortran 4.8.5 :

gfortran --version
GNU Fortran (Ubuntu 4.8.5-4ubuntu2) 4.8.5
Copyright (C) 2015 Free Software Foundation, Inc.

sudo pip2 install pysimulators
[...]
compile options: '-DGFORTRAN -DPRECISION_REAL=8 -I/usr/local/lib/python2.7/dist-packages/numpy/core/include -I/usr/local/lib/python2.7/dist-packages/numpy/core/include -c'
extra options: '-Jbuild/temp.linux-x86_64-2.7 -Ibuild/temp.linux-x86_64-2.7'
gfortran:f90: src/module_precision.f90
f951: error: argument to ‘-O’ should be a non-negative integer, ‘g’, ‘s’ or ‘fast’
error: Command "/usr/bin/gfortran -Wall -g -fno-second-underscore -fPIC -cpp -fpack-derived -Ofast -march=native -openmp -DGFORTRAN -DPRECISION_REAL=8 -I/usr/local/lib/python2.7/dist-packages/numpy/core/include -I/usr/local/lib/python2.7/dist-packages/numpy/core/include -c -c src/module_precision.f90 -o build/temp.linux-x86_64-2.7/src/module_precision.o -Jbuild/temp.linux-x86_64-2.7 -Ibuild/temp.linux-x86_64-2.7" failed with exit status 1

Is someone has an idea to solve this ?
Thanks

@satorchi
Copy link
Contributor

satorchi commented Jul 5, 2019

yes, please install instead my fork of pysimulators:

https://github.com/satorchi/pysimulators

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