Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
katoptron
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
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
Aerospace and Mechanical Engineering
katoptron
Commits
212b2b02
Commit
212b2b02
authored
2 years ago
by
Boman Romain
Browse files
Options
Downloads
Patches
Plain Diff
build & test ubuntu 22.04 OK
parent
b8ace901
No related branches found
No related tags found
1 merge request
!1
Import Katoptron from Waves
Pipeline
#9692
failed
2 years ago
Stage: build
Stage: test
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+1
-13
1 addition, 13 deletions
.gitlab-ci.yml
CMake/FindMPI4PY.cmake
+42
-0
42 additions, 0 deletions
CMake/FindMPI4PY.cmake
dox/logo.jpg
+0
-0
0 additions, 0 deletions
dox/logo.jpg
with
43 additions
and
13 deletions
.gitlab-ci.yml
.tmp
→
.gitlab-ci.yml
+
1
−
13
View file @
212b2b02
# gitlab-ci file for
waves
# gitlab-ci file for
Katoptron
default
:
image
:
rboman/waves-py3:2020.3
...
...
@@ -37,18 +37,6 @@ format:
when
:
on_failure
allow_failure
:
true
build-no-tlnos:
<<: *global_tag_def
stage: build
script:
- git submodule init
- git submodule update
- rm -rf build workspace
- mkdir build
- cd build
- cmake -Wno-dev -C ../CMake/disable-trilinos.cmake ..
- make -j 8
build
:
<<
:
*global_tag_def
stage
:
build
...
...
This diff is collapsed.
Click to expand it.
CMake/FindMPI4PY.cmake
0 → 100644
+
42
−
0
View file @
212b2b02
# Copyright 2022 University of Liège
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
if
(
NOT MPI4PY_INCLUDE_DIR
)
execute_process
(
COMMAND
"
${
PYTHON_EXECUTABLE
}
"
"-c"
"import mpi4py; print(mpi4py.get_include())"
OUTPUT_VARIABLE MPI4PY_INCLUDE_DIR
RESULT_VARIABLE MPI4PY_COMMAND_RESULT
OUTPUT_STRIP_TRAILING_WHITESPACE
)
if
(
MPI4PY_COMMAND_RESULT
)
message
(
"waves/CMake/FindMPI4PY: mpi4py not found"
)
set
(
MPI4PY_FOUND FALSE
)
else
(
MPI4PY_COMMAND_RESULT
)
if
(
MPI4PY_INCLUDE_DIR MATCHES
"Traceback"
)
message
(
"waves/CMake/FindMPI4PY: mpi4py matches traceback"
)
## Did not successfully include MPI4PY
set
(
MPI4PY_FOUND FALSE
)
else
(
MPI4PY_INCLUDE_DIR MATCHES
"Traceback"
)
## successful
set
(
MPI4PY_FOUND TRUE
)
set
(
MPI4PY_INCLUDE_DIR
${
MPI4PY_INCLUDE_DIR
}
CACHE STRING
"mpi4py include path"
)
endif
(
MPI4PY_INCLUDE_DIR MATCHES
"Traceback"
)
endif
(
MPI4PY_COMMAND_RESULT
)
else
(
NOT MPI4PY_INCLUDE_DIR
)
set
(
MPI4PY_FOUND TRUE
)
endif
(
NOT MPI4PY_INCLUDE_DIR
)
# ----------------------------------------------------------------------------
include
(
FindPackageHandleStandardArgs
)
find_package_handle_standard_args
(
MPI4PY DEFAULT_MSG
MPI4PY_INCLUDE_DIR
)
This diff is collapsed.
Click to expand it.
dox/logo.jpg
0 → 100644
+
0
−
0
View file @
212b2b02
10.6 KiB
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