Giter Club home page Giter Club logo

Comments (3)

srio avatar srio commented on July 28, 2024

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.

srio avatar srio commented on July 28, 2024

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.

tschoonj avatar tschoonj commented on July 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.