Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Timer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
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
数学の武士
Timer
Commits
e11e864f
Commit
e11e864f
authored
1 year ago
by
数学の武士
Browse files
Options
Downloads
Patches
Plain Diff
Add fortran test
parent
a8f56a80
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
TestF/CMakeLists.txt
+14
-0
14 additions, 0 deletions
TestF/CMakeLists.txt
TestF/main.F90
+14
-0
14 additions, 0 deletions
TestF/main.F90
with
28 additions
and
0 deletions
TestF/CMakeLists.txt
0 → 100644
+
14
−
0
View file @
e11e864f
cmake_minimum_required
(
VERSION 3.0
)
enable_language
(
Fortran
)
# enable_language(CXX)
# set(CMAKE_CXX_STANDARD 11)
# set(CMAKE_Fortran_FLAGS " -cpp ")
link_directories
(
/home/elizabeth/Prog/Timer/build
)
file
(
COPY /home/elizabeth/Prog/Timer/build/jikan.mod DESTINATION
${
CMAKE_CURRENT_SOURCE_DIR
}
)
add_executable
(
exec main.F90
)
set_property
(
TARGET exec PROPERTY LINKER_LANGUAGE CXX
)
target_link_libraries
(
exec
libtimerF.a
libtimerCXX.a
)
\ No newline at end of file
This diff is collapsed.
Click to expand it.
TestF/main.F90
0 → 100644
+
14
−
0
View file @
e11e864f
! #include "../JikanF.h"
program
hello
USE
JIKAN
INTEGER
::
i
do
i
=
1
,
50
call
timer_start_f
(
"SS"
,
1
)
print
*
,
'Hello, World!'
call
timer_end_f
(
"SS"
,
1
,
0
)
end
do
call
write_output_f
()
end
program
hello
\ No newline at end of file
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