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
3a4e950e
Commit
3a4e950e
authored
15 years ago
by
Douglas Guptill
Browse files
Options
Downloads
Patches
Plain Diff
tweaks from mahone
parent
d00c1d99
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
define_bc.f90
+5
-1
5 additions, 1 deletion
define_bc.f90
douar.run.mahone
+3
-16
3 additions, 16 deletions
douar.run.mahone
scanfile.f90
+3
-4
3 additions, 4 deletions
scanfile.f90
with
11 additions
and
21 deletions
define_bc.f90
+
5
−
1
View file @
3a4e950e
...
...
@@ -48,6 +48,7 @@ type (void) vo
integer
i
,
iproc
,
nproc
,
ierr
double precision
eps
,
lsf0
,
pi
,
l
,
h
,
x0
,
x1
,
x2
,
phi
integer
ie
,
ij
,
j
,
jp
character
fname
*
256
!------------------------------------------------------------------------------|
!------------------------------------------------------------------------------|
...
...
@@ -69,7 +70,10 @@ phi=phi/180.d0*pi
!x1=x0-l*(1.d0-cos(phi))/sin(phi)
!x2=x0+l/tan(phi)
select
case
(
trim
(
params
%
infile
))
!select case(trim(params%infile))
j
=
index
(
params
%
infile
,
'/'
,
.true.
)
fname
=
params
%
infile
(
j
+1
:
len
(
params
%
infile
))
select
case
(
trim
(
fname
))
case
(
'input.txt'
,
'input.small.txt'
)
...
...
This diff is collapsed.
Click to expand it.
douar.run.mahone
+
3
−
16
View file @
3a4e950e
...
...
@@ -21,16 +21,9 @@ echo "Will use ${PROCS} processes."
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
}
"
# But this doesn't seem to work....)
# It looks like the license must be where we start the job.
# douar needs some directories..
make_dir DEBUG
make_dir DEBUG/mpilogs
...
...
@@ -40,13 +33,7 @@ make_dir OUT
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}"
# MPICH wants the input file on the command line.
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
}
>"
...
...
This diff is collapsed.
Click to expand it.
scanfile.f90
+
3
−
4
View file @
3a4e950e
...
...
@@ -50,9 +50,8 @@ call mpi_comm_size (mpi_comm_world,nproc,ierr)
call
mpi_comm_rank
(
mpi_comm_world
,
iproc
,
ierr
)
ires
=
0
open
(
7
,
file
=
fnme
(
1
:
len_trim
(
fnme
)),
status
=
'old'
,
iostat
=
ios
)
if
(
ios
/
=
0
)
write
(
*
,
*
)
'pb opening
input.txt
in iscanfile'
if
(
ios
/
=
0
)
write
(
*
,
*
)
'pb opening
<'
,
fname
,
'>
in iscanfile'
111
continue
...
...
@@ -118,7 +117,7 @@ call mpi_comm_rank (mpi_comm_world,iproc,ierr)
ires
=
0
open
(
7
,
file
=
fnme
(
1
:
len_trim
(
fnme
)),
status
=
'old'
,
iostat
=
ios
)
if
(
ios
/
=
0
)
write
(
*
,
*
)
'pb opening
input.txt
in
i
scanfile'
if
(
ios
/
=
0
)
write
(
*
,
*
)
'pb opening
<'
,
fnme
(
1
:
len_trim
(
fnme
)),
'>
in
d
scanfile'
111
continue
...
...
@@ -183,7 +182,7 @@ call mpi_comm_rank (mpi_comm_world,iproc,ierr)
ires
=
0
open
(
7
,
file
=
fnme
(
1
:
len_trim
(
fnme
)),
status
=
'old'
,
iostat
=
ios
)
if
(
ios
/
=
0
)
write
(
*
,
*
)
'pb opening
input.txt
in
i
scanfile'
if
(
ios
/
=
0
)
write
(
*
,
*
)
'pb opening
<'
,
fnme
(
1
:
len_trim
(
fnme
)),
'>
in
c
scanfile'
111
continue
...
...
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