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
b8ad40ed
Commit
b8ad40ed
authored
4 years ago
by
Jean-Baptiste Keck
Browse files
Options
Downloads
Patches
Plain Diff
gcc8 to gcc7 for ci
parent
ee2a29bb
No related branches found
No related tags found
1 merge request
!16
MPI operators
Pipeline
#41865
canceled
4 years ago
Stage: env
Stage: configure
Stage: build
Stage: install
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+6
-6
6 additions, 6 deletions
.gitlab-ci.yml
hysop/backend/device/opencl/opencl_env.py
+2
-1
2 additions, 1 deletion
hysop/backend/device/opencl/opencl_env.py
with
8 additions
and
7 deletions
.gitlab-ci.yml
+
6
−
6
View file @
b8ad40ed
...
...
@@ -17,8 +17,8 @@ config:bionic:
image
:
keckj/hysop:bionic
stage
:
configure
script
:
-
"
bash
ci/scripts/config.sh
$CI_PROJECT_DIR/build/gcc-
8
$CI_PROJECT_DIR/install/gcc-
8
gcc-
8
g++-
8
gfortran-
8
"
-
"
bash
ci/scripts/config.sh
$CI_PROJECT_DIR/build/clang-
8
$CI_PROJECT_DIR/install/clang-
8
clang-
8
clang++-
8
gfortran-
8
"
-
"
bash
ci/scripts/config.sh
$CI_PROJECT_DIR/build/gcc-
7
$CI_PROJECT_DIR/install/gcc-
7
gcc-
7
g++-
7
gfortran-
7
"
-
"
bash
ci/scripts/config.sh
$CI_PROJECT_DIR/build/clang-
7
$CI_PROJECT_DIR/install/clang-
7
clang-
7
clang++-
7
gfortran-
7
"
dependencies
:
-
env:bionic
artifacts
:
...
...
@@ -29,8 +29,8 @@ build:bionic:
image
:
keckj/hysop:bionic
stage
:
build
script
:
-
"
bash
ci/scripts/build.sh
$CI_PROJECT_DIR/build/gcc-
8
gcc-
8
g++-
8
gfortran-
8
"
-
"
bash
ci/scripts/build.sh
$CI_PROJECT_DIR/build/clang-
8
clang-
8
clang++-
8
gfortran-
8
"
-
"
bash
ci/scripts/build.sh
$CI_PROJECT_DIR/build/gcc-
7
gcc-
7
g++-
7
gfortran-
7
"
-
"
bash
ci/scripts/build.sh
$CI_PROJECT_DIR/build/clang-
7
clang-
7
clang++-
7
gfortran-
7
"
dependencies
:
-
config:bionic
artifacts
:
...
...
@@ -41,7 +41,7 @@ install:bionic:
image
:
keckj/hysop:bionic
stage
:
install
script
:
-
"
bash
ci/scripts/install.sh
$CI_PROJECT_DIR/build/gcc-
8
$CI_PROJECT_DIR/install/gcc-
8
"
-
"
bash
ci/scripts/install.sh
$CI_PROJECT_DIR/build/gcc-
7
$CI_PROJECT_DIR/install/gcc-
7
"
dependencies
:
-
build:bionic
artifacts
:
...
...
@@ -52,7 +52,7 @@ test:bionic:
image
:
keckj/hysop:bionic
stage
:
test
script
:
-
"
bash
ci/scripts/test.sh
$CI_PROJECT_DIR/install/gcc-
8
$CI_PROJECT_DIR/hysop
$CI_PROJECT_DIR/cache"
-
"
bash
ci/scripts/test.sh
$CI_PROJECT_DIR/install/gcc-
7
$CI_PROJECT_DIR/hysop
$CI_PROJECT_DIR/cache"
dependencies
:
-
install:bionic
cache
:
...
...
This diff is collapsed.
Click to expand it.
hysop/backend/device/opencl/opencl_env.py
+
2
−
1
View file @
b8ad40ed
...
...
@@ -566,13 +566,14 @@ Dumped OpenCL Kernel '{}'
if
not
os
.
path
.
exists
(
dump_folder
)
and
(
main_rank
==
0
):
os
.
makedirs
(
dump_folder
)
if
DEBUG
:
if
DEBUG
and
True
:
# dump kernel source while in debug mode
dump_file
=
dump_folder
+
'
/rk{}_{}_dump.cl
'
.
format
(
main_rank
,
kernel_name
)
print
'
Dumping kernel src at
\'
{}
\'
.
'
.
format
(
dump_file
)
with
open
(
dump_file
,
'
w+
'
)
as
f
:
f
.
write
(
gpu_src
)
build_opts
+=
[
'
-g
'
,
'
-s {}
'
.
format
(
dump_file
)]
s_build_opts
=
'
'
.
join
(
build_opts
)
if
VERBOSE
:
...
...
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