Comments (6)
Ah, that worked! Thought I had already tried gnu95 as my fortran compiler but apparently not. Thank you!
from magic.
Hi,
I've typically seen this occur while using python2. Do you have both python versions (2 and 3) installed on your computer?
One way to force it to use python3 might be to explicitly set f2pyexec = f2py3. Can you set that in the magic.cfg
, remove the *.so
files and try again?
from magic.
Hi, thank you for the reply. It doesn't even look like the .so files are created. They are supposed to be in $MAGIC_HOME/python/magic correct?
from magic.
I see. It's the compiler then. Could you send the following information?
- Is this on a cluster or a local computer?
- What compilers are you using (system variables: CC, FC, CXX) ?
- Can you paste your
magic.cfg
?
from magic.
Local computer, CC=gcc, FC=gfortran, CXX=mpicxx
magic.cfg:
[plots]
Adapt your backend to your machine: 'TkAgg', 'GTKAgg', 'Qt4Agg', ...
backend = TkAgg
In case you don't have LaTeX installed switch to False
labTex = False
Default colormap
defaultCm = seismic
Default number of levels
defaultLevels = 65
[libraries]
adapt this value if you don't want libraries
buildLib = True
f2py executable, can be f2py, f2py2 or f2py3 (python 3)
f2pyexec = f2py3
fortran compiler: f2py -c --help-fcompiler, frequently 'intelem' or 'gnu95'
fcompiler = gfortran
c compiler: f2py -c --help-compiler
No need to touch this one except on gwdg, change it to intelem
ccompiler = gcc
~
from magic.
You need to set fcompiler=gnu95
and leave the ccompiler
to the default value of unix
.
Edit: These should get set automatically if you source the sourceme.sh script: source /path/to/magic/sourceme.sh
from magic.
Related Issues (20)
- omega_ic=0 first line of rot.TAG HOT 1
- updateZ + l10 + get_rot_rates HOT 2
- update Z + precession HOT 1
- output.f90 + debug flags HOT 1
- dtVrms outputs when using SDIRK with assembly stage
- Input statement requires too much data, unit 10, error when running the auto-tests 'Test coeff outputs'
- Unknown error when running program HOT 4
- l_update_[v,b,s,xi] with DIRK schemes with an assembly stage
- Non-dimensional temperature does not show 0 and 1 at boundaries HOT 1
- add topics HOT 2
- Issue using l_true_time in input.nml file HOT 1
- l_LCR + finite differences HOT 1
- reading potential files [BTV]_lmr with the serial version of MagIC HOT 1
- dtVrms with FD HOT 1
- The moon's gravity? HOT 4
- ipython --pylab prevents building the f2py libraries HOT 2
- angular momentum correction with SBDF3
- Python module magic.legendre not available when compiling f2py libraries HOT 1
- Cannot import name 'simps' from 'scipy.integrate' HOT 20
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from magic.