| 100 | |
| 101 | == compiling error== |
| 102 | |
| 103 | gmake driver met a error showed as below: |
| 104 | |
| 105 | mpif90 -c -cpp -DCPP_PARA -p -g -fpe0 -traceback -fp-stack-check -ftrapuv -check bounds -i4 -r8 -I../../../lib -module ../../../lib -I/usr/local/install/netcdf-4.3.2p/include sechiba.f90 |
| 106 | sechiba.f90(44): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [THERMOSOILC] |
| 107 | USE thermosoilc |
| 108 | ------^ |
| 109 | compilation aborted for sechiba.f90 (code 1) |
| 110 | gmake[2]: *** [../../../lib/libsechiba.a(sechiba.o)] Error 1 |
| 111 | gmake[2]: Leaving directory `/home/users/yhuang/modipsl/modeles/ORCHIDEE/src_sechiba' |
| 112 | gmake[1]: *** [all] Error 2 |
| 113 | gmake[1]: Leaving directory `/home/users/yhuang/modipsl/modeles/ORCHIDEE/src_sechiba' |
| 114 | gmake: *** [libsechiba] Error 2 |
| 115 | |
| 116 | thermosoilc.f90 is just a copy of thermosoil.f90, but sechiba.f90 used module thermosoilc (at line 44 in sechiba.f90), but there is no command dealing with thermosoilc.f90 in AA_make in the same directory, I think that is why I can not use gmake to compile. |