Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
hysop
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
particle_methods
hysop
Commits
f456771f
Commit
f456771f
authored
4 years ago
by
Jean-Baptiste Keck
Browse files
Options
Downloads
Patches
Plain Diff
conditional fortran compiler flag
parent
8f7ed83a
No related branches found
No related tags found
2 merge requests
!24
Resolve "Add python3.x support"
,
!15
WIP: Resolve "HySoP with tasks"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+4
-2
4 additions, 2 deletions
CMakeLists.txt
with
4 additions
and
2 deletions
CMakeLists.txt
+
4
−
2
View file @
f456771f
...
...
@@ -402,9 +402,11 @@ if(USE_FORTRAN)
# Set module files directory (i.e. where .mod will be created)
set
(
CMAKE_Fortran_MODULE_DIRECTORY
${
CMAKE_BINARY_DIR
}
/Modules
)
# Add compilation flags:
#append_Fortran_FLAGS("-Wall -fPIC -ffree-line-length-none -DBLOCKING_SEND_PLUS -DBLOCKING_SEND")
append_Fortran_FLAGS
(
"-Wall -fPIC -ffree-line-length-none -cpp -fallow-argument-mismatch"
)
append_Fortran_FLAGS
(
"-Wall -fPIC -ffree-line-length-none -cpp"
)
append_Fortran_FLAGS
(
"-Wno-unused-dummy-argument -Wno-integer-division -Wno-unused-value -Wno-maybe-uninitialized -Wno-unused-function"
)
if
(
CMAKE_Fortran_COMPILER_ID MATCHES
"GNU"
AND CMAKE_Fortran_COMPILER_VERSION GREATER_EQUAL 10.0
)
append_Fortran_FLAGS
(
"-fallow-argument-mismatch"
)
endif
()
if
(
USE_MPI
)
# -I
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment