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

Combine all library builds so only one libip is needed #25

Closed
edwardhartnett opened this issue Sep 30, 2020 · 4 comments
Closed

Combine all library builds so only one libip is needed #25

edwardhartnett opened this issue Sep 30, 2020 · 4 comments

Comments

@edwardhartnett
Copy link
Contributor

After building this package, in the lib directory, I see several libraries. What's the difference between them?

/home/ed/NCEPLIBS/NCEPLIBS-ip/lib:
  total used in directory 2552 available 187783064
  drwxrwxr-x 3 ed ed   4096 Sep 30 06:49 .
  drwxrwxr-x 6 ed ed   4096 Sep 30 06:49 ..
  drwxrwxr-x 3 ed ed   4096 Sep 30 06:49 cmake
  -rw-r--r-- 1 ed ed 855098 Sep 30 06:48 libip_4.a
  -rw-r--r-- 1 ed ed 888482 Sep 30 06:48 libip_8.a
  -rw-r--r-- 1 ed ed 854490 Sep 30 06:48 libip_d.a
@GeorgeGayno-NOAA
Copy link
Contributor

"4" is 4-byte floats/ints; "d" is 8-byte floats/4-byte ints; "8" is 8-byte floats/ints

@edwardhartnett
Copy link
Contributor Author

OK, now I get it. ;-) Similar to #226

@edwardhartnett edwardhartnett reopened this Sep 4, 2021
@edwardhartnett edwardhartnett changed the title what are the different lib files produced? Combine all library builds so only one libip is needed Sep 4, 2021
@edwardhartnett
Copy link
Contributor Author

We need to end this practice, so we need to build just one of the libraries and let Fortran match the types.

I'm not sure what effect this will have on using applications...

@edwardhartnett
Copy link
Contributor Author

OK, this is harder than I thought. See discussion in NOAA-EMC/NCEPLIBS-sp#76.

We will table this idea for now. I will close this issue.

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

3 participants