Closed eqmao closed 1 year ago
Hello eqmao, I faced the same problem when a installed Sharc and I did not get the solution did you get the solution and if you get the solution could you help me, please.
with regards LUKHMAN
Hello,
you can safely ignore the warnings. And replacing rand() by random_number() is also ok. The latter is more up to the modern Fortran standard.
Regards, Markus
Hi Dear SHARC Developers,
A while ago I encountered an 'internal compiler error' when trying to compile with GNU compilers so I'm trying to compile with the Intel compilers. The conda packages are installed before compilation.
When compiling sharc/source/misc.f90 and sharc/source/nuclear.f90, ifort is having trouble with the 'rand()' function:
Replacing the 'rand()' function with the 'random_number()' function seems to fix the problem but I'm not sure if I'm doing the right thing.
When compiling netcdf functionalities I had these warnings, though the compilation managed to proceed:
Another similar warning was also poped up for nc_sharc.c:302:52.
When compiling pysharc I had these warnings, though the compilation managed to proceed:
I wonder if the warnings were the result of my incorrectly prepared environment or other mistakes and I would greatly appreciate any suggestions from you.
Best Regards,