Giter Club home page Giter Club logo

Comments (9)

climbfuji avatar climbfuji commented on July 30, 2024 1

Not sure if I understand your last comment, but I tried on Cheyenne w/o LD_LIBRARY_PATH in the compiler and it failed in parallel-netcdf:

ld: /glade/u/apps/opt/intel/2021.2/compiler/2021.2.0/linux/bin/intel64/../../bin/intel64/../../lib/icx-lto.so: error loading plugin: libimf.so: cannot open shared object file: No such file or directory
configure:33760: $? = 1

I'll put it back in because it doesn't hurt.

from spack-stack.

kgerheiser avatar kgerheiser commented on July 30, 2024

Using an Ubuntu VM I was able to get the compiler to work by setting LD_LIBRARY_PATH in compiler.yaml.

set:
  LD_LIBRARY_PATH: /opt/intel/oneapi/compiler/latest/linux/compiler/lib/intel64

from spack-stack.

climbfuji avatar climbfuji commented on July 30, 2024

from spack-stack.

kgerheiser avatar kgerheiser commented on July 30, 2024

I don't think setting those variables on HPC systems with modules is necessary. I was able to build on Orion without manually setting any environment variables. The module should handle that.

from spack-stack.

climbfuji avatar climbfuji commented on July 30, 2024

That's possible ... but for some reason I had to add the LD_LIBRARY_PATH when I started working on this a month or two back.

However, we will need at least the CXXFLAGS to define the toolchain. I'll also try on Cheyenne w/o LD_LIBRARY_PATH

from spack-stack.

kgerheiser avatar kgerheiser commented on July 30, 2024

Make sure to set the prefix not to the compilers themselves, but to the top-level Intel directory. For MPI that is.

from spack-stack.

climbfuji avatar climbfuji commented on July 30, 2024

@kgerheiser Do you have plans to fix this, or keep the --dirty in the Intel CI config?

from spack-stack.

kgerheiser avatar kgerheiser commented on July 30, 2024

Replacing environment: {} with environment: {prepend_path: {LD_LIBRARY_PATH: /opt/intel/oneapi/compiler/latest/linux/compiler/lib}} should work. Just have to test it out.

from spack-stack.

climbfuji avatar climbfuji commented on July 30, 2024

from spack-stack.

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.