Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
P
papyrus
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Code Review
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kim, Jungwon
papyrus
Commits
5e36fa6b
Commit
5e36fa6b
authored
May 11, 2018
by
Kim, Jungwon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fortran in grand tave
parent
2a469598
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
build.sh
build.sh
+2
-2
kv/src/CMakeLists.txt
kv/src/CMakeLists.txt
+1
-1
kv/tests/14_fortran/test14_fortran.f90
kv/tests/14_fortran/test14_fortran.f90
+1
-1
kv/tests/CMakeLists.txt
kv/tests/CMakeLists.txt
+1
-1
No files found.
build.sh
View file @
5e36fa6b
...
...
@@ -2,6 +2,6 @@
rm
-rf
build
install
mkdir
build
cd
build
cmake ..
-DCMAKE_INSTALL_PREFIX
=
../install
-DMPIEXEC
=
"/opt/intel/compilers_and_libraries_2017.4.196/linux/mpi/intel64/bin/mpirun"
-DMPIEXEC_NUMPROC_FLAG
=
"-n"
-DPAPYRUS_USE_FORTRAN
=
ON
# Stampede2
#
cmake .. -DCMAKE_INSTALL_PREFIX=../install -DMPIEXEC="/opt/slurm/default/bin/srun" -DMPIEXEC_NUMPROC_FLAG="-n" -DPAPYRUS_USE_FORTRAN=ON #Grand Tave
#
cmake .. -DCMAKE_INSTALL_PREFIX=../install -DMPIEXEC="/opt/intel/compilers_and_libraries_2017.4.196/linux/mpi/intel64/bin/mpirun" -DMPIEXEC_NUMPROC_FLAG="-n" -DPAPYRUS_USE_FORTRAN=ON # Stampede2
cmake ..
-DCMAKE_INSTALL_PREFIX
=
../install
-DMPIEXEC
=
"/opt/slurm/default/bin/srun"
-DMPIEXEC_NUMPROC_FLAG
=
"-n"
-DPAPYRUS_USE_FORTRAN
=
ON
#Grand Tave
make
-j
install
kv/src/CMakeLists.txt
View file @
5e36fa6b
...
...
@@ -33,5 +33,5 @@ add_library(papyruskv ${PAPYRUSKV_SOURCES})
install
(
TARGETS papyruskv DESTINATION lib
)
if
(
PAPYRUS_USE_FORTRAN
)
install
(
FILES
papyrus.mod DESTINATION include
)
install
(
FILES
${
PROJECT_BINARY_DIR
}
/kv/src/
papyrus.mod DESTINATION include
)
endif
()
kv/tests/14_fortran/test14_fortran.f90
View file @
5e36fa6b
...
...
@@ -11,7 +11,7 @@ PROGRAM TEST14_FORTRAN
INTEGER
(
KIND
=
8
)
::
KEYLEN
,
VALLEN
CALL
MPI_INIT_THREAD
(
MPI_THREAD_MULTIPLE
,
PROVIDED
,
IERROR
)
CALL
MPI_BARRIER
(
MPI_COMM_WORLD
,
IERROR
)
PRINT
*
,
'THIS IS A HACK CODE FOR PORTABILITY'
CALL
PAPYRUSKV_INIT
(
'./pkv_repo'
,
IERROR
)
IF
(
IERROR
/
=
PAPYRUSKV_OK
)
THEN
PRINT
*
,
'FAILED'
...
...
kv/tests/CMakeLists.txt
View file @
5e36fa6b
...
...
@@ -8,7 +8,7 @@ macro(papyruskv_test arg)
endmacro
(
papyruskv_test
)
macro
(
papyruskv_test_fortran arg
)
include_directories
(
${
PROJECT_
SOURCE
_DIR
}
/kv/src
)
include_directories
(
${
PROJECT_
BINARY
_DIR
}
/kv/src
)
add_executable
(
kv.
${
arg
}
${
arg
}
.f90
)
target_link_libraries
(
kv.
${
arg
}
papyruskv pthread stdc++
)
add_test
(
kv.
${
arg
}
${
MPIEXEC
}
${
MPIEXEC_NUMPROC_FLAG
}
4 ./kv.
${
arg
}
)
...
...
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