- #1
ign
- 5
- 0
Hello,
I am running a fortran f90 program and am writing outputs to several files,
the thing is I would like them to be written to a specific folder to better manage outputs
and so leaving the program directory clean.
here's a sample write sentence:
open(unit=3, file=val(i,1)//'_Brutes_lowV_thr_5_10_15.txt', status='replace')
do h=1, size(pmv)
write(3,*) YearList(h), pmv(h), lowV(h,:)
enddo
close(3)
where do I add instructions so that the file is written say in
an output folder located on the desktop (/home/ign/desktop/output)?
thank you in advance,
ign
I am running a fortran f90 program and am writing outputs to several files,
the thing is I would like them to be written to a specific folder to better manage outputs
and so leaving the program directory clean.
here's a sample write sentence:
open(unit=3, file=val(i,1)//'_Brutes_lowV_thr_5_10_15.txt', status='replace')
do h=1, size(pmv)
write(3,*) YearList(h), pmv(h), lowV(h,:)
enddo
close(3)
where do I add instructions so that the file is written say in
an output folder located on the desktop (/home/ign/desktop/output)?
thank you in advance,
ign