Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
Summerstudent project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hendriks, David D Dr (PG/R - Maths & Physics)
Summerstudent project
Commits
f4a8dd67
Commit
f4a8dd67
authored
6 years ago
by
David Hendriks
Browse files
Options
Downloads
Patches
Plain Diff
updated mcluster script
parent
5258e2e1
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
mcluster_script.sh
+20
-1
20 additions, 1 deletion
mcluster_script.sh
test.info
+60
-0
60 additions, 0 deletions
test.info
with
80 additions
and
1 deletion
mcluster_script.sh
+
20
−
1
View file @
f4a8dd67
#!/bin/bash
# TODO:
# rename the files
# Check if dir exists.
MCLUSTER_CONFIG_DIR
=
'/vol/ph/astro_code/dhendriks/work_dir/mcluster'
MCLUSTER_EXECUTABLE
=
'/vol/ph/astro_code/dhendriks/mcluster/mcluster'
NAME_RUN
=
'test'
$MCLUSTER_EXECUTABLE
-C0
-o
$MCLUSTER_CONFIG_DIR
/
$NAME_RUN
|
tee
$MCLUSTER_CONFIG_DIR
/
$NAME_RUN
.summary
# Store settings for mcluster in here.
MCLUSTER_COMMANDS
=
"-C0 -o"
$MCLUSTER_EXECUTABLE
$MCLUSTER_COMMANDS
$MCLUSTER_CONFIG_DIR
/
$NAME_RUN
|
tee
$MCLUSTER_CONFIG_DIR
/
$NAME_RUN
.summary
# Write command to file
echo
"
$MCLUSTER_EXECUTABLE
$MCLUSTER_COMMANDS
$MCLUSTER_CONFIG_DIR
/
$NAME_RUN
| tee
$MCLUSTER_CONFIG_DIR
/
$NAME_RUN
.summary"
>
$MCLUSTER_CONFIG_DIR
/command.txt
# Rename fïles:
if
[
-f
"
$MCLUSTER_CONFIG_DIR
/
$NAME_RUN
.input.fort.10"
]
;
then
mv
-f
$MCLUSTER_CONFIG_DIR
/
$NAME_RUN
.input.fort.10
$MCLUSTER_CONFIG_DIR
/fort.10
fi
if
[
-f
"
$MCLUSTER_CONFIG_DIR
/
$NAME_RUN
.input.fort.12"
]
;
then
mv
-f
$MCLUSTER_CONFIG_DIR
/
$NAME_RUN
.input.fort.12
$MCLUSTER_CONFIG_DIR
/fort.12
fi
\ No newline at end of file
This diff is collapsed.
Click to expand it.
test.info
0 → 100644
+
60
−
0
View file @
f4a8dd67
McLuster model generated: Wed May 15 16:44:11 2019
N = 0
Mcl = 1000
profile = 0
W0 = 5
S = 0
D = 3
Q = 0.5
Rh = 0.8
gammas = 2 0 2
a = 1
Rmax = 100
tcrit = 100
tf = 3
RG = 8500 0 0
VG = 0 220 0
mfunc = 1
single_mass = 1
mlow = 0.08
mup = 100
alpha = -1.35 -2.35 -2.7 0 0 0 0 0 0 0
mlim = 0.08 0.5 4 100 0 0 0 0 0 0 0
alpha_L3 = 2.3
beta_L3 = 1.4
mu_L3 = 0.2
weidner = 0
mloss = 3
remnant = 1
epoch = 0
Z = 0.02
prantzos = 0
nbin = 0
fbin = 0
pairing = 3
msort = 5
adis = 3
OBperiods = 2
amin = 0.0001
amax = 0.01
eigen = 2
BSE = 0
extmass = 0
extrad = 0
extdecay = 0
extstart = 0
code = 3
seed = 35051
dtadj = 1
dtout = 1
dtplot = 1
gpu = 0
regupdate = 0
etaupdate = 0
esc = 2
units = 1
match = 1
symmetry = 1
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