Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assistance with NCEPLIBS install #215

Closed
nco-mwaters opened this issue Aug 27, 2024 · 13 comments
Closed

Assistance with NCEPLIBS install #215

nco-mwaters opened this issue Aug 27, 2024 · 13 comments

Comments

@nco-mwaters
Copy link

Submitting request her per Alex Richert

Good afternoon,

I have a ServiceNow
nceplibs_install_error2.txt
ticket to install NCEPLIBS for OPC. I was given the following page of where the libs can be found: https://github.com/NOAA-EMC/NCEPLIBS?tab=readme-ov-file.

The user wants it installed in a shared location and available to compilers. I attempted to follow these instructions to install but was unsuccessful.

git clone https://github.com/spack/spack
. spack/share/spack/setup-env.sh # assuming bash, zsh, or dash shell
spack external find cmake gmake # find external packages to save time
spack install ip
spack load ip

See the attached file for the errors.

Because we are not familiar with NCEPLIBS and how they are installed/used, can you please provide us some assistance it getting the NCEPLIBS available to the user?

@caineblood
Copy link

The above comment asking you to download a file is malware to steal your account; do not under any circumstances download or run it. The post needs to be removed. If you have attempted to run it please have your system cleaned and your account secured immediately.

@nco-mwaters
Copy link
Author

Thank you. When I clicked the link I got the following:

Dangerous File Blocked
The file you attempted to download was determined to be dangerous. For your protection, MediaFire does not enable distribution of dangerous files.

@NOAA-EMC NOAA-EMC deleted a comment Aug 27, 2024
@AlexanderRichert-NOAA
Copy link
Contributor

Can you show me your compiler configuration? spack config get compilers should do the trick.

@nco-mwaters
Copy link
Author

nco-mwaters commented Aug 27, 2024 via email

@NOAA-EMC NOAA-EMC deleted a comment from GoldenCaterpie Aug 27, 2024
@AlexanderRichert-NOAA
Copy link
Contributor

Don't click the malware links...

@AlexanderRichert-NOAA
Copy link
Contributor

Try installing g++ and add it to your config.

@edwardhartnett
Copy link
Contributor

I will delete this original message...

@nco-mwaters
Copy link
Author

g++ was already installed but unsure of how to add it to the config since I'm not the one that will be using the NCEPLIBS.

@AlexanderRichert-NOAA
Copy link
Contributor

Run spack config blame compilers to determine where your compiler configuration is, then edit that file and set 'cxx' to the path of g++ (presumably /bin/g++).

@nco-mwaters
Copy link
Author

nco-mwaters commented Aug 27, 2024 via email

@AlexanderRichert-NOAA
Copy link
Contributor

I predict the packages that failed will build now, so please try again.

@nco-mwaters
Copy link
Author

nco-mwaters commented Aug 27, 2024 via email

@nco-mwaters
Copy link
Author

nco-mwaters commented Aug 27, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants