Changes
Page history
add a compilation error section
authored
Feb 28, 2017
by
Rémy Mozul
Show whitespace changes
Inline
Side-by-side
faq.markdown
View page @
c9299315
# Frequently Asked Question #
# Frequently Asked Question #
## <a name=general_questions> General questions </a> ##
###### What is the license of this software ? ######
###### What is the license of this software ? ######
...
@@ -46,3 +47,21 @@ export OMP_SCHEDULE=STATIC
...
@@ -46,3 +47,21 @@ export OMP_SCHEDULE=STATIC
export
OMP_NUM_THREADS
=
n
export
OMP_NUM_THREADS
=
n
```
```
where
**n**
is the number of threads you want to use (usually no more than the number of core available).
where
**n**
is the number of threads you want to use (usually no more than the number of core available).
## <a name=compile_error> Known compilation errors </a> ##
##### 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
```