Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
argotk
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
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
argo
argotk
Commits
ed4c7a0a
Commit
ed4c7a0a
authored
Feb 14, 2019
by
Valentin Reis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nrm socket cleaning update
parent
ce7b496d
Pipeline
#5223
passed with stage
in 29 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
share/openmc/settings.xml
share/openmc/settings.xml
+2
-2
src/Argo/Stack.hs
src/Argo/Stack.hs
+3
-2
No files found.
share/openmc/settings.xml
View file @
ed4c7a0a
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
<settings>
<settings>
<run_mode>
eigenvalue
</run_mode>
<run_mode>
eigenvalue
</run_mode>
<particles>
100
</particles>
<particles>
100
</particles>
<batches>
30
0
</batches>
<batches>
1
0
</batches>
<inactive>
100
</inactive>
<inactive>
2
</inactive>
<source
strength=
"1.0"
>
<source
strength=
"1.0"
>
<space
type=
"fission"
>
<space
type=
"fission"
>
<parameters>
-10.751819999999999 -10.751819999999999 36.007 10.751819999999999 10.751819999999999 236.0066
</parameters>
<parameters>
-10.751819999999999 -10.751819999999999 36.007 10.751819999999999 10.751819999999999 236.0066
</parameters>
...
...
src/Argo/Stack.hs
View file @
ed4c7a0a
...
@@ -27,12 +27,12 @@ import Control.Foldl as Fold
...
@@ -27,12 +27,12 @@ import Control.Foldl as Fold
import
Text.Show.Pretty
import
Text.Show.Pretty
import
System.Environment
import
System.Environment
cleanLeftovers
::
WorkingDirectory
->
Shell
()
cleanLeftovers
::
WorkingDirectory
->
Shell
()
--TODO
cleanLeftovers
(
WorkingDirectory
wd
)
=
do
cleanLeftovers
(
WorkingDirectory
wd
)
=
do
printInfo
"Cleaning working(output) directory."
printInfo
"Cleaning working(output) directory."
cleanLog
wd
cleanLog
wd
printInfo
"Cleaning sockets."
printInfo
"Cleaning sockets."
CM
.
mapM_
cleanSocket
[
"/tmp/nrm-downstream-in"
,
"/tmp/nrm-upstream-in"
]
CM
.
mapM_
cleanSocket
[
"/tmp/nrm-downstream-in"
,
"/tmp/nrm-upstream-in"
,
"/tmp/nrm-downstream-event"
]
checkFsAttributes
::
FilePath
->
Shell
()
checkFsAttributes
::
FilePath
->
Shell
()
checkFsAttributes
workingDirectory
=
do
checkFsAttributes
workingDirectory
=
do
...
@@ -193,6 +193,7 @@ runStack sa@StackArgs {..} = do
...
@@ -193,6 +193,7 @@ runStack sa@StackArgs {..} = do
CM
.
mapM_
CM
.
mapM_
cleanSocket
cleanSocket
[
"/tmp/nrm-downstream-in"
[
"/tmp/nrm-downstream-in"
,
"/tmp/nrm-downstream-event"
,
"/tmp/nrm-upstream-in"
,
"/tmp/nrm-upstream-in"
,
"/tmp/nrm-upstream-event"
,
"/tmp/nrm-upstream-event"
]
]
...
...
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