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

interesting include directory names #24

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

interesting include directory names #24

edwardhartnett opened this issue Sep 30, 2020 · 5 comments

Comments

@edwardhartnett
Copy link
Contributor

Instead of the usual "include" directory, this package creates some interesting include directory names:

/home/ed/NCEPLIBS/NCEPLIBS-ip:
 total used in directory 24 available 187782844
 drwxrwxr-x 6 ed ed 4096 Sep 30 06:49 .
 drwxrwxr-x 7 ed ed 4096 Sep 30 06:49 ..
 drwxr-xr-x 2 ed ed 4096 Sep 30 06:49 include_4
 drwxr-xr-x 2 ed ed 4096 Sep 30 06:49 include_8
 drwxr-xr-x 2 ed ed 4096 Sep 30 06:49 include_d
 drwxrwxr-x 3 ed ed 4096 Sep 30 06:49 lib

Within the include_4 directory, I find:

  /home/ed/NCEPLIBS/NCEPLIBS-ip/include_4:
  total used in directory 40 available 187782720
  drwxr-xr-x 2 ed ed 4096 Sep 30 06:49 .
  drwxrwxr-x 6 ed ed 4096 Sep 30 06:49 ..
  -rw-r--r-- 1 ed ed  515 Sep 30 06:48 gdswzd00_mod.mod
  -rw-r--r-- 1 ed ed  516 Sep 30 06:48 gdswzd01_mod.mod
  -rw-r--r-- 1 ed ed  515 Sep 30 06:48 gdswzd03_mod.mod
  -rw-r--r-- 1 ed ed  531 Sep 30 06:48 gdswzd04_mod.mod
  -rw-r--r-- 1 ed ed  515 Sep 30 06:48 gdswzd05_mod.mod
  -rw-r--r-- 1 ed ed  516 Sep 30 06:48 gdswzdcb_mod.mod
  -rw-r--r-- 1 ed ed  515 Sep 30 06:48 gdswzdcd_mod.mod
  -rw-r--r-- 1 ed ed  531 Sep 30 06:48 gdswzd_mod.mod

Why all the mod files?

@GeorgeGayno-NOAA
Copy link
Contributor

Instead of the usual "include" directory, this package creates some interesting include directory names:

/home/ed/NCEPLIBS/NCEPLIBS-ip:
 total used in directory 24 available 187782844
 drwxrwxr-x 6 ed ed 4096 Sep 30 06:49 .
 drwxrwxr-x 7 ed ed 4096 Sep 30 06:49 ..
 drwxr-xr-x 2 ed ed 4096 Sep 30 06:49 include_4
 drwxr-xr-x 2 ed ed 4096 Sep 30 06:49 include_8
 drwxr-xr-x 2 ed ed 4096 Sep 30 06:49 include_d
 drwxrwxr-x 3 ed ed 4096 Sep 30 06:49 lib

Within the include_4 directory, I find:

  /home/ed/NCEPLIBS/NCEPLIBS-ip/include_4:
  total used in directory 40 available 187782720
  drwxr-xr-x 2 ed ed 4096 Sep 30 06:49 .
  drwxrwxr-x 6 ed ed 4096 Sep 30 06:49 ..
  -rw-r--r-- 1 ed ed  515 Sep 30 06:48 gdswzd00_mod.mod
  -rw-r--r-- 1 ed ed  516 Sep 30 06:48 gdswzd01_mod.mod
  -rw-r--r-- 1 ed ed  515 Sep 30 06:48 gdswzd03_mod.mod
  -rw-r--r-- 1 ed ed  531 Sep 30 06:48 gdswzd04_mod.mod
  -rw-r--r-- 1 ed ed  515 Sep 30 06:48 gdswzd05_mod.mod
  -rw-r--r-- 1 ed ed  516 Sep 30 06:48 gdswzdcb_mod.mod
  -rw-r--r-- 1 ed ed  515 Sep 30 06:48 gdswzdcd_mod.mod
  -rw-r--r-- 1 ed ed  531 Sep 30 06:48 gdswzd_mod.mod

Why all the mod files?

There is a set for each precision version of the library - single, mixed, double.

@edwardhartnett
Copy link
Contributor Author

OK, so this is similar to what is happening with the sp library? See #226

If so, we should use fortran interfaces to solve this problem. @GeorgeGayno-NOAA do you agree?

@GeorgeGayno-NOAA
Copy link
Contributor

OK, so this is similar to what is happening with the sp library? See NOAA-EMC/NCEPLIBS-ip#226

If so, we should use fortran interfaces to solve this problem. @GeorgeGayno-NOAA do you agree?

That is one way to do it. I would use double precision for all computations.

@edwardhartnett
Copy link
Contributor Author

I have raised your point here: #226.

@edwardhartnett
Copy link
Contributor Author

OK, this is a hard problem. See discussion in NOAA-EMC/NCEPLIBS-sp#76. 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

2 participants