GithubHelp home page GithubHelp logo

gmake (cmake) error. about pylada-light HOT 4 CLOSED

pylada avatar pylada commented on June 8, 2024
gmake (cmake) error.

from pylada-light.

Comments (4)

mdavezac avatar mdavezac commented on June 8, 2024

It looks like c++11 is not detected, could you try running deleting the build directory and running:

CXXFLAGS=-std=c++11 python setup.py install

from pylada-light.

Woohyuny avatar Woohyuny commented on June 8, 2024

Thanks!! :) I solved the problem

from pylada-light.

vstevano avatar vstevano commented on June 8, 2024

Hi Mayeul, let me chime in on this.

I had the same problem on a machine that forces me to use conda and intel compilers. Did what you suggested and the installation finished smoothly. However when trying to import pylada this happened:

(myenv) ipython
Python 3.6.5 |Anaconda custom (64-bit)| (default, Oct 12 2018, 19:28:48)
Type 'copyright', 'credits' or 'license' for more information
IPython 6.3.1 -- An enhanced Interactive Python. Type '?' for help.

In [1]: import pylada

ImportError Traceback (most recent call last)
in ()
----> 1 import pylada

~/.conda/envs/myenv/lib/python3.6/site-packages/pylada/init.py in ()
129
130 # import submodules
--> 131 from . import error, crystal, physics, misc, tools, ewald, decorations, periodic_table, vasp,
132 process, jobfolder, logger, espresso
133

ImportError: /u/us/hi/vstevano/.conda/envs/myenv/lib/python3.6/site-packages/pylada/ewald.so: undefined symbol: for_write_seq_fmt_xmit

Do you have any idea what is going on?

Thanks,
Vladan

from pylada-light.

mdavezac avatar mdavezac commented on June 8, 2024

That's probably because the linker that was used was not ifort (ewald is the one bit of fortran that's in there). I don't know of a straightforward way of correcting this.

from pylada-light.

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.