I was able to successfully compile the user_2d_rec example, but now I'm having issues with my own user file. I've compiled this same user file on a different cluster before and didn't have any issues. I'm wondering if something has changed in the latest version of the code. This time I've issued make clean before compilation. All the other code modules compile fine.
The errors that I'm getting are:
==============================================
src/main/finalize.F90:8:23:
8 | use m_userfile, only: userDeallocate
| 1
Error: Symbol 'userdeallocate' referenced at (1) not found in module 'm_userfile'
make: *** [Makefile:56: build/src/main/finalize.o] Error 1
make: *** Waiting for unfinished jobs....
[OK]: compiled src/algorithms/particle_mover.F90
src/restart/restart.F90:16:23:
16 | use m_userfile, only: readUsrRestart, writeUsrRestart
| 1
Error: Symbol 'readusrrestart' referenced at (1) not found in module 'm_userfile'
src/restart/restart.F90:16:39:
16 | use m_userfile, only: readUsrRestart, writeUsrRestart
| 1
Error: Symbol 'writeusrrestart' referenced at (1) not found in module 'm_userfile'
make: *** [Makefile:55: build/src/restart/restart.o] Error 1
==============================================
My configure command is: python configure.py -2d -mpi08 -hdf5 -extfields --user=user_alfven_NEW. I can send you my user file if that will help.
Okay, I managed to compile my user file by adding #include "optional.F" at the very end. I saw this in other user files provided with the code and don't recall seeing it in the earlier versions.
Hi Hayk,
I was able to successfully compile the user_2d_rec example, but now I'm having issues with my own user file. I've compiled this same user file on a different cluster before and didn't have any issues. I'm wondering if something has changed in the latest version of the code. This time I've issued
make clean
before compilation. All the other code modules compile fine. The errors that I'm getting are:==============================================
==============================================
My configure command is:
python configure.py -2d -mpi08 -hdf5 -extfields --user=user_alfven_NEW
. I can send you my user file if that will help.Thanks, Ramandeep Gill