Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. SuOraiste

    Parsing data from shell script to fortran

    Ok, now I got it! It must be NML=CTLIST, without ' or "". I was wondering because I'm the gfortran version I'm using is the version which comes with the latest ubuntu release, which is pretty recent. Well, that help me alot anyway. thanks! SuOraiste
  2. SuOraiste

    Parsing data from shell script to fortran

    Ok it worked, thanks! BUT only with this syntax READ(*,CTLLIST) PRINT*,name," ",age without the "nml=". Does your suggestion work for you??
  3. SuOraiste

    Parsing data from shell script to fortran

    Hello i'm trying as a test, to parse some data from a shell script into a fortran script. I want to do this with a namelist. Here is what I've got so far SHELL SCRIPT: #!/bin/bash cat > CTLFILE <<EOF &CTLLIST name="myname", age="myage" / EOF...
  4. SuOraiste

    Fortran 90 and Netcdf

    The error only occurs when running the program! It compiles fine. I'm trying to read an already existing file. I also tried "mode=nf90_nowrite" but with the same result. This shouldn't be the error sonce it only says if you want to read and write to the file or only read. The netcdf libraries...
  5. SuOraiste

    Fortran 90 and Netcdf

    Hi I'm trying to read a netcdf but keep encountereing the same error, segmentation fault! My code follows the netcdf manual. Here is it: PROGRAM nc USE netcdf IMPLICIT NONE INTEGER :: stat,id...

Part and Inventory Search

Back
Top