Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Plumed AlphaFold
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue 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
Martin Kurečka
Plumed AlphaFold
Commits
78187e79
There was an error fetching the commit references. Please try again later.
Commit
78187e79
authored
6 years ago
by
Giovanni Bussi
Browse files
Options
Downloads
Patches
Plain Diff
Small cleanup
Moved __DATE__ and __TIME__ to config/Config.cpp
parent
4a20a9cc
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/config/Config.h
+8
-0
8 additions, 0 deletions
src/config/Config.h
src/config/Config.inc.in
+9
-0
9 additions, 0 deletions
src/config/Config.inc.in
src/core/PlumedMain.cpp
+2
-1
2 additions, 1 deletion
src/core/PlumedMain.cpp
with
19 additions
and
1 deletion
src/config/Config.h
+
8
−
0
View file @
78187e79
...
...
@@ -85,6 +85,14 @@ std::string getVersionLong();
/// E.g. "c5badb091cd30"
std
::
string
getVersionGit
();
/// Return the day PLUMED was compiled.
/// E.g. "Apr 16 2018"
std
::
string
getCompilationDate
();
/// Return the time at which PLUMED was compiled.
/// E.g. "13:27:58"
std
::
string
getCompilationTime
();
bool
hasMatheval
();
bool
hasDlopen
();
...
...
This diff is collapsed.
Click to expand it.
src/config/Config.inc.in
+
9
−
0
View file @
78187e79
...
...
@@ -167,6 +167,15 @@ bool hasXdrfile() {
#endif
}
std::string getCompilationDate() {
return __DATE__;
}
std::string getCompilationTime() {
return __TIME__;
}
}
}
This diff is collapsed.
Click to expand it.
src/core/PlumedMain.cpp
+
2
−
1
View file @
78187e79
...
...
@@ -485,7 +485,8 @@ void PlumedMain::init() {
atoms
.
init
();
if
(
!
log
.
isOpen
())
log
.
link
(
stdout
);
log
<<
"PLUMED is starting
\n
"
;
log
<<
"Version: "
<<
config
::
getVersionLong
()
<<
" (git: "
<<
config
::
getVersionGit
()
<<
") compiled on "
__DATE__
" at "
__TIME__
"
\n
"
;
log
<<
"Version: "
<<
config
::
getVersionLong
()
<<
" (git: "
<<
config
::
getVersionGit
()
<<
") "
<<
"compiled on "
<<
config
::
getCompilationDate
()
<<
" at "
<<
config
::
getCompilationTime
()
<<
"
\n
"
;
log
<<
"Please cite this paper when using PLUMED "
;
log
<<
cite
(
"Tribello, Bonomi, Branduardi, Camilloni, and Bussi, Comput. Phys. Commun. 185, 604 (2014)"
);
log
<<
"
\n
"
;
...
...
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