-
Notifications
You must be signed in to change notification settings - Fork 9
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
cpu branch configure: pnetcdf.h #9
Comments
I am assuming you have switch on PNETCDF support on the GPU version. Is this true? PNETCDF is a library used for IO. It is for large-scale runs on parallel architectures (IO can be done in parallel). It should not raise any error flags within PETSc. The default IO uses NIFTI (common medical imaging format). You should compile using NIFTI at this time. Unfortunately, it only recently came to my attention (last week) that PNETCDF is currently not supported on the GPU version (only the CPU version supports it). You need to keep the default setting in the makefile for dependencies: https://github.com/andreasmang/claire/blob/gpu/deps/makefile#L3 and for CLAIRE https://github.com/andreasmang/claire/blob/gpu/makefile#L12 That is, keep WITH_PNETCDF = no Please let me know if excluding PNETCDF from the compilation does not fix your issue. The next release will allow you to use PNETCDF (if you want to test it). We are currently testing it on our end for the GPU version. The issue has been raised here (by myself): I decided to not remove the option in the @naveenaero if you are confident that the PNETCDF installation works, please push the fix to this repo. |
@tjasaki Sorry. I just saw the heading. Are you referring to the CPU branch or the GPU branch? The heading says CPU and the issue says "claire-gpu". It should work for the CPU. If you are on the CPU branch, I'll provide an updated response. |
Sorry for the confusion. I am on the cpu branch. |
No problem. Can you set the following to USEPNETCDF=yes https://github.com/andreasmang/claire/blob/cpu/makefile#L5 Compilation for CLAIRE in top level dir. [
Then PNETCDF is available and can be linked. But I would suggest to not use it for now. I'll check the documentation to see if I need to add some more info there. I'll make |
I have made a couple of updates to help with this: [ ] I have added a description of the flags to the main makefile [ ] I have added more information about the libraries (in particular how to compile them individually) here: Some of this is mentioned in general language at the bottom of this section. Now it's also explicit. [ ] I have added additional descriptions of the options available in the makefile here: [ ] I have added a description of the data formats supported by CLAIRE here: Please let me know if any of this is unclear, convoluted, or should be improved. I have set the default of |
I tried a fresh install, setting USEPNETCDF=no as you suggested. This eliminate the error, but I still have no binaries (and no bin directory either). The output of "make -j" (and of "make -j 12") is as follows. fatal: not a git repository (or any of the parent directories): .git |
What version of the GNU compiler are you using? I have never seen this kind of error before. Also does you machine support intel avx instructions (should not be a problem with compilation though)? |
Some quick answers: gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0 avx insructions: (probably) Intel® Core™ i9-9880H CPU @ 2.30GHz × 16 |
@tjasaki and @naveenaero: |
I have been unable to install a working copy of claire-gpu. The installation
initially appeared to have completed successfully up until running the makefile:
make -j
The terminal output begins with the message:
fatal: not a git repository (or any of the parent directories): .git
and continues. The next error message is
./include/ReadWriteReg.hpp:29:10: fatal error: pnetcdf.h: No such file or directory
29 | #include "pnetcdf.h"
| ^~~~~~~~~~~
compilation terminated.
Several similar messages appear refering to pnetcdf.h. Working backwards, I
found that that the compilation process ran into a compilation error:
Error during compile, check cxx_opt_sgl/lib/petsc/conf/make.log
Send it and cxx_opt_sgl/lib/petsc/conf/configure.log to petsc-maint@mcs.anl.gov
The two files in question are included. Note that all dependencies were downloaded/installed using the provided build scipt and all paths have been set.
Thank you for any help you can provide.
Tom
configure.log
make.log
The text was updated successfully, but these errors were encountered: