-
Notifications
You must be signed in to change notification settings - Fork 8
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
Makefile for Jasmin #20
Comments
Hi Salah, I'm happy to help!
and so in the
I tried looking up the available modules for the Jasmin server, but had trouble finding a list. For comparison, on the system that I typically use, I have a netcdf4 module that I load that then makes the library available. Also, related to the second set of errors that you were getting, could you tell me what compiler you're using? Regards, |
Hi Ben, I have
so I copied your lines into my system.mk but still get Netcdf is part of the standard tools so I think they are available automatically but maybe I am missing some step like that. For which compiler, do you want to see:
or something else? Sorry, not that familiar with c++. All the best, |
On Jasmin the full output of
On my university cluster it is:
I see the same error about netcdf_par on the uni cluster. I am trying to get the code to run on both but I am most interested in running it on my uni system. All the best, Salah |
Hi Salah, Thanks for the notes! Sorry for the slow follow-up, Thanksgiving holidays were last week :-) I will look into this more tomorrow and get back to you! Regards, |
Hi Ben, Sorry, could I bump this please? Really looking forward to working with FlowSeive. All the best, |
Hi Salah, Thanks for the nudge! From the nc-config output, it looks like the netcdf library wasn't installed with parallel capabilities
This would explain why The two options to solve this would be (if available) switching to a different netcdf module that was compiled with parallel capabilities, asking the cluster tech team to make a parallel netcdf module, or compiling netcdf yourself (this last one would be rather unpleasant, and avoided if possible haha). Regards, |
Hi Ben, I have a similar issue regarding netcdf_par.h when compiling coarse_grain.x on Cheyenne. Please see the erro info below. Is is also related to unparallel netcdf module on Cheyenne? (same nc-config output: --has-parallel4 -> no; --has-parallel -> no). Do you have any further insights/solutions on this? Thank you for your help! Best, mpicxx -c -DDEBUG=0 -Wall -std=c++14 -O3 -fp-model fast=2 -ip -ipo -Wl,-Bstatic -lnetcdff -lnetcdf -lhdf5hl_fortran -lhdf5_hl -lhdf5_fortran -lhdf5 -lsz -lz -Wl,-Bdynamic -lcurl -lm -ldl -o NETCDF_IO/write_integral_to_post.o NETCDF_IO/write_integral_to_post.cpp -lnetcdf -lhdf5_hl -lhdf5 -lz -lcurl -qopenmp -lm compilation aborted for NETCDF_IO/write_integral_to_post.cpp (code 4) |
Hi Yiming, Yes, it looks like the same error, the netcdf library that you're using doesn't have parallel features installed. I haven't looked in-depth, but it looks like Cheyenne does have parallel netcdf libraries available under the name I'm not sure what the dependencies are like, but those might be a good starting point. The Cheyenne system file mentions using the following module commands:
Could you try using that and let me know if it works? Regards, |
Hi Ben, Thank you for your response! The compilation works well after swap to a parallel netcdf module on Cheyenne as you suggested. So far, so good. Looking forward to working with this very cool algorithm! I appreciate your time and help. Best, |
We now have a working version on Jasmin! Salah, if you could send me the system.mk file that you were using and the module load commands, I'll add a Jasmin system file to the set that's included in FlowSieve's Beyond that, I'm going to go ahead and close this issue, but feel free to email me or open other issues with any other problems or questions :-) |
@bastorer @SalahKouhen |
Hi Hemant, Unfortunately, I switched to using my university computing system instead midway through this thread, so the title is misleading. I never got FS to work on Jasmin! Good luck! |
@hmkhatri If you want, we can arrange a zoom meeting for some time next week to see if we can try and get FlowSieve up and running on Jasmin :-) My schedule is pretty flexible, so feel free to email me to plan a time |
@SalahKouhen @bastorer Thanks. I too failed to compile on Jasmin system. Will check with their IT for a solution. Anyway, I ended u compiling on U. Liverpool Custer. It worked fine. Opened a pull request to add the system.mk file. |
Hi there,
I am using the Jasmin hpc service in the UK. I don't really know how to write a system.mk file for it and would like some guidance if possible.
I used the Bluehive_open.mk. I ran into the following when I tried
make Case_Files/coarse_grain.x
,fatal error: netcdf_par.h: No such file or directory
.I tried getting a copy of this h file off github and put it in the main directory, the error became longer and included error:
'num_regions' not specified in enclosing 'parallel'
anderror: 'len_fields' not specified in enclosing 'parallel'
, so I can see that I am missing something here.Salah
The text was updated successfully, but these errors were encountered: