Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
west-public
West
Commits
812e4fb2
Commit
812e4fb2
authored
Jul 11, 2018
by
Marco Govoni
Browse files
Check that runner is running.
parent
cfcb6cb7
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
812e4fb2
...
...
@@ -18,7 +18,6 @@ west_at_qe_6_1_0:
-
git clone -b 'qe-6.1.0' --single-branch --depth 1 https://gitlab.com/QEF/q-e.git QEDIR
-
mkdir bin
-
cd QEDIR
-
git clone -b $CI_COMMIT_REF_NAME $CI_REPOSITORY_URL West
-
./configure
-
make -j pw
-
pwd
...
...
@@ -26,6 +25,10 @@ west_at_qe_6_1_0:
-
mpirun --version
-
gfortran --version
-
cat /proc/cpuinfo | grep -c MHz
-
git clone -b $CI_COMMIT_REF_NAME $CI_REPOSITORY_URL West
-
cd West/test
-
mpif90 hello.f90 -o hello.x
-
mpirun -np 2 hello.x
# - cd West
# - git checkout $CI_COMMIT_SHA
# - cd test
...
...
test/hello.f90
0 → 100644
View file @
812e4fb2
program
hello
include
'mpif.h'
integer
rank
,
size
,
ierror
,
tag
,
status
(
MPI_STATUS_SIZE
)
call
MPI_INIT
(
ierror
)
call
MPI_COMM_SIZE
(
MPI_COMM_WORLD
,
size
,
ierror
)
call
MPI_COMM_RANK
(
MPI_COMM_WORLD
,
rank
,
ierror
)
print
*
,
'node'
,
rank
,
': Hello world'
call
MPI_FINALIZE
(
ierror
)
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment