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
d00c1d99
"README.md" did not exist on "434ee987b913ff9a6024e4dbcb5f53651474f4a8"
Commit
d00c1d99
authored
15 years ago
by
Douglas Guptill
Browse files
Options
Downloads
Patches
Plain Diff
tweaks
parent
2311d9f6
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
Makefile.mahone
+7
-2
7 additions, 2 deletions
Makefile.mahone
douar.run.mahone
+62
-0
62 additions, 0 deletions
douar.run.mahone
with
69 additions
and
2 deletions
Makefile.mahone
+
7
−
2
View file @
d00c1d99
# Define our compilers.................................
#
# The default - OpenMPI 1.2.7
F90
=
mpif90
F77
=
mpif77
CC
=
mpicc
# wsmp wants mpich, so we try this
F90
=
/usr/local/mpich.pgi.64/bin/mpif90
F77
=
/usr/local/mpich.pgi.64/bin/mpif77
CC
=
/usr/local/mpich.pgi.64/bin/mpicc
# wsmp lives here.
#
...
...
@@ -12,8 +17,8 @@ WSMP_DIR = /home/dguptill/software/wsmp/wsmp-Linux/lib/X86_64/PGI
#
AR
=
ar
OPTIONS
=
PGPLOT
=
/home/dguptill/software/pgplot-5.2.2
WSMP_LIB
=
-L
$(
WSMP_DIR
)
-lpwsmp64
PGPLOT
=
/home/dguptill/software/pgplot-5.2.2
WSMP_LIB
=
-L
$(
WSMP_DIR
)
-lpwsmp64
# Define FORTRAN compiler flags.......................
#
...
...
This diff is collapsed.
Click to expand it.
douar.run.mahone
0 → 100755
+
62
−
0
View file @
d00c1d99
#!/bin/sh
#
# run douar, on mahone
#
# Author: Douglas Guptill
# 2009-06-03: new, from a copy of the one on p690
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."
# For wsmp
export
MALLOC_TRIM_THRESHOLD_
=
-1
export
MALLOC_MMAP_MAX_
=
0
# WSMP needs to know where its license file is.
# But this doesn't seem to work yet....)
# It looks like the license must be where we start the job.
# When using the licemse from AIX, we get:
# ERROR**: This License is registered for an AIX system
# export WSMPLICPATH=/home/dguptill/software/wsmp/
# export WSMPLICPATH=/home/pfullsac/PROGRAMS2008/v0.1/run_test_all/pbwithlic/wsmp.lic
# The PGPLOT routines need this.
export
PGPLOT_DIR
=
/home/dguptill/software/pgplot-5.2.2
export
LD_LIBRARY_PATH
=
${
PGPLOT_DIR
}
:
${
LD_LIBRARY_PATH
}
echo
"LD_LIBRARY_PATH is
${
LD_LIBRARY_PATH
}
"
# 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.mpich.02
BIN
=
/home/dguptill/software/douar/douar
# Here is the run command
# COM="mpirun -np ${PROCS} --host localhost,localhost,localhost,localhost --byslot ${BIN}"
# for the head node and MPICH
# trouble:
#p0_15929: p4_error: Child process exited while making connection to remote process on cl003: 0
#p0_15929: (6.230469) net_send: could not write to fd=5, errno = 32
#
# COM="/usr/local/mpich.pgi.64/bin/mpirun -machinefile /home/dguptill/douar/machinefile -np ${PROCS} ${BIN}"
COM
=
"/usr/local/mpich.pgi.64/bin/mpirun -arch LINUX -machinefile /home/dguptill/douar/machinefile -np
${
PROCS
}
${
BIN
}
/home/dguptill/douar/input.txt"
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........
#
OUT
=
douar.out
${
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