Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
DOUAR WSMP
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
Container 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
HUGG
DOUAR WSMP
Commits
ac224aaa
Commit
ac224aaa
authored
15 years ago
by
Douglas Guptill
Browse files
Options
Downloads
Patches
Plain Diff
run script
parent
44c15d39
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
douar.run.sopalepc
+52
-0
52 additions, 0 deletions
douar.run.sopalepc
with
52 additions
and
0 deletions
douar.run.sopalepc
0 → 100755
+
52
−
0
View file @
ac224aaa
#!/bin/sh
#
# run douar, on sopalepc
#
# Author: Douglas Guptill
# 2009-06-19: new, from a copy of the one for mahone
make_dir
()
{
if
!
test
-d
$1
;
then
mkdir
$1
;
fi
}
if
test
$#
-lt
1
;
then
echo
"Usage:
$0
<number-of-processors>"
exit
fi
PROCS
=
$1
echo
"Will use
${
PROCS
}
processes."
OUT
=
douar.out
# For wsmp
export
MALLOC_TRIM_THRESHOLD_
=
-1
export
MALLOC_MMAP_MAX_
=
0
# douar needs some directories..
make_dir DEBUG
make_dir DEBUG/mpilogs
make_dir OUT
# define the binary of douar
BIN
=
/home/dguptill/software/douar/bin/douar
# ulimits
# (I put this in while debugging; not sure it helped anything)
ulimit
-s
20480
>>
${
OUT
}
ulimit
-a
>>
${
OUT
}
# Here is the run command
#
COM
=
"mpirun -np
${
PROCS
}
--host localhost,localhost,localhost,localhost
\
--byslot --mca btl sm,self
${
BIN
}
"
echo
"COM is <
${
COM
}
>"
# start douar and go away....
#
# nohup ${COM} &
# echo "douar has been started. Look in nohup.out ."
# start douar and watch it........
#
${
COM
}
2>douar.err |
tee
-a
${
OUT
}
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