diff --git a/DOUAR.f90 b/DOUAR.f90 index 3cbd6c14246a186a7cf52632039389800693eb2a..58c269f3909258921e007a661f15446f4a37e33e 100644 --- a/DOUAR.f90 +++ b/DOUAR.f90 @@ -101,8 +101,8 @@ call int_to_char(ciproc,3,iproc) threadinfo%Logunit=1000+iproc open (unit=threadinfo%Logunit,file='./DEBUG/mpilogs/Log_'//ciproc//'.dat',status='replace') -write(threadinfo%Logunit,*) 'This is douar, last modifed 2009-08-20' -if (iproc.eq.0) write(*,*) '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-09-03' write(threadinfo%Logunit,'(a,i3)') 'Log file of mpi process',iproc 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() +! 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 params%infile='input.txt'