Skip to content
Snippets Groups Projects
Commit e3d5c5eb authored by Douglas Guptill's avatar Douglas Guptill
Browse files

do not attempt to read command line arguments; mpich on mahone objects.

parent 6388c9ec
No related branches found
No related tags found
No related merge requests found
...@@ -101,8 +101,8 @@ call int_to_char(ciproc,3,iproc) ...@@ -101,8 +101,8 @@ call int_to_char(ciproc,3,iproc)
threadinfo%Logunit=1000+iproc threadinfo%Logunit=1000+iproc
open (unit=threadinfo%Logunit,file='./DEBUG/mpilogs/Log_'//ciproc//'.dat',status='replace') open (unit=threadinfo%Logunit,file='./DEBUG/mpilogs/Log_'//ciproc//'.dat',status='replace')
write(threadinfo%Logunit,*) 'This is douar, last modifed 2009-08-20' write(threadinfo%Logunit,*) 'This is douar, last modifed 2009-09-03'
if (iproc.eq.0) write(*,*) 'This is douar, last modifed 2009-08-20' if (iproc.eq.0) write(*,*) 'This is douar, last modifed 2009-09-03'
write(threadinfo%Logunit,'(a,i3)') 'Log file of mpi process',iproc write(threadinfo%Logunit,'(a,i3)') 'Log file of mpi process',iproc
call heap_init(threadinfo,2000+iproc,'./DEBUG/mpilogs/mem_heap_'//ciproc//'.dat') call heap_init(threadinfo,2000+iproc,'./DEBUG/mpilogs/mem_heap_'//ciproc//'.dat')
...@@ -114,6 +114,10 @@ call heap_init(threadinfo,2000+iproc,'./DEBUG/mpilogs/mem_heap_'//ciproc//'.dat' ...@@ -114,6 +114,10 @@ call heap_init(threadinfo,2000+iproc,'./DEBUG/mpilogs/mem_heap_'//ciproc//'.dat'
!------------------------------------------------------------------------------| !------------------------------------------------------------------------------|
numarg=iargc() numarg=iargc()
! 2009-09-03: Douglas Guptill
! mpich doesn't allow us to read the command line
! so we simulate an empty one
numarg = 0
if (numarg==0) then if (numarg==0) then
params%infile='input.txt' params%infile='input.txt'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment