... | ... | @@ -53,14 +53,17 @@ where **n** is the number of threads you want to use (usually no more than the n |
|
|
##### An error arise when building `mod_a_mecaEF_shb.f90` file #####
|
|
|
|
|
|
* if the error message is something like:
|
|
|
|
|
|
```shell
|
|
|
TYPE(T_mecaEF_SHB),DIMENSION(1),PRIVATE :: mecaEF
|
|
|
1
|
|
|
Error: Object 'mecaef' at (1) must have the SAVE attribute for default initialization of a componenent
|
|
|
```
|
|
|
|
|
|
* AND if the compiler used is *gfortran-4.4*
|
|
|
|
|
|
Then activate the following `GFORTRAN44_PATCHING` CMake flag:
|
|
|
|
|
|
```shell
|
|
|
cmake . -DGFORTRAN44_PATCHING=True
|
|
|
make
|
... | ... | |