Comments (3)
It looks that the problem is not the compiler:
it bombs with python 3.6.5
it works with python 3.6.3!!!
from shadow3.
Indeed, the problem is more subtil.
It is not depending neither on the python nor the conda version.
The problem is with conda: there is a conflict with the fortran libraries installed by conda when installing xraylib.
If one preforms the installation of shadow3 with conda is OK.
If one installs xraylib and then shadow3, there is no compilation problem but bombs when copying strings in fortran. In fact it bombs in something like this, which is completely legal and correct in fortran:
integer(kind=ski) :: length2
character(len=80) :: SLENGTH
length2 = 2
write(slength,fmt=*) length2
The solution is may be to avoid to install xraylib using conda.
I confess I am not a fan of conda, I spent three days in this!!
from shadow3.
Hi Manolo,
The problem here is not the xraylib conda package but numpy, which is responsible for dragging in the libgfortran shared library.
For this problem to stop occurring, I recommend you compile shadow3 with the gfortran compiler from conda, not the one provided by the system.
Hope this helps!
Tom
from shadow3.
Related Issues (20)
- Error while running test program HOT 4
- Flat vs. uniform geometrical source HOT 2
- Unexpected behavior of CRL + crystal HOT 2
- compound lens problem for zero lenses
- fatal error LNK1136: invalid or corrupt file HOT 8
- Installation from source not working HOT 30
- License for this repo HOT 2
- SI100 produces unrealistic intensity HOT 1
- simulation of paraboloid mirror HOT 1
- BRAGG standalone use HOT 1
- Parabolic mirror with small distances HOT 2
- choosing the torus pole location HOT 3
- reflectivity with graphite 002 HOT 10
- improve plot range (get_good_range) HOT 1
- Storing the output data HOT 4
- Support NumPy 1.24+
- Syntax error in ShadowLibExtensions.py HOT 1
- How to change the propagation direction of source in shadow3 of OASYS Software ? HOT 2
- ellipsoid mirror setup HOT 3
- link to Shadow user guide is broken HOT 4
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 shadow3.