13 Topics

Member Avatar for
Member Avatar for Reverend Jim

You can win up to [$55,000 to optimize NASA's Fluid Dynamics code](https://arstechnica.com/information-technology/2017/05/nasa-wants-you-to-make-its-fortran-code-run-faster/). See the link for details.

2
220
Member Avatar for DavidB

I am trying to translate an old FORTRAN program to C++ and appear to have hit a brick wall. I do not understand how one of the variables returned by a sub-routine can ever take a particular value. I am not a FORTRAN master; maybe somebody here is more familiar …

Member Avatar for rubberman
0
488
Member Avatar for DavidB

I am trying to understand some old FORTRAN code and have reached a point that puzzles me. In the main program, a 1-D work array has been defined. i.e. - REAL WORKA(30) Later on, portions of this work array are passed into a few sub-routines: e.g. - CALL SNAME1 (10, …

Member Avatar for taichichuan
0
233
Member Avatar for Chem_1

I could able to exe fortran file cygwin terminal command it showing following(go through the image)

0
152
Member Avatar for DavidB

I am trying to convert some old FORTRAN code to C++. I am about three sub-routines deep into the code and one of the sub-routines includes the following line (twice): CDIR$ IVDEP This is the first time I have come across this command, or directive, or whatever it is. What …

Member Avatar for SalmiSoft
0
516
Member Avatar for Vasthor

My friend and I tried to create a team of programmers for doing bunch of work, our main aim is the gaming sector (probably). It was said around the net that it was hard work. So, we decided to plan it from now. I got around 1-3 years(blurry because I'm …

Member Avatar for deceptikon
0
251
Member Avatar for JOSheaIV

Okay so I hope this is the right place to put this. But onto the point. Anyway a long time ago my father showed me a game he used to play called Adventure. Some right remember this command prompt game as well as it's opening words "YOU ARE STANDING AT …

Member Avatar for ddanbe
0
230
Member Avatar for bmfinn

I am trying to create a gui that will interact with an existing external console application, e.g. the user only changes information in text boxes or radio buttons and that will prompt the VB.net program to sumbit a certain set of commands. I will create a folder for the end …

Member Avatar for bmfinn
0
927
Member Avatar for rhowell

Hi, # Problem and Background # I'm trying to compile a program that uses some legacy c code generated using the f2c translator (*version of May 1991 13:06:06*). *decide.c* is the source that contains the translated fortran to c code and *f2c.c* is the header file. Durring compilation I get …

Member Avatar for rubberman
0
426
Member Avatar for hypernova

Hi all !! I am new to Fortran. Please see the following code: program exp_realloc implicit none integer,allocatable,dimension(:,:):: array integer::i,j allocate(array(3,3)) write(*,*)size(array,1)," ",size(array,2) do i=1,3 do j=1,3 array(i,j)=i*j write(*,*)array(i,j) enddo write(*,*) enddo CALL func(array) end program exp_realloc subroutine func(array) integer,dimension(:,:),intent(in)::array integer::i,j write(*,*)"********* Inside subroutine **********" write(*,*)size(array,1)," ",size(array,2) write(*,*)array(1,1) write(*,*)array(1,2) write(*,*)array(2,1) …

0
132
Member Avatar for Zssffssz

Ok my complex fortran program has an error on this line: [CODE]MON=HOLD-TRANS(reg:rag)[/CODE] With an error Of: Incompatible rank asinement of (0/1) My usual hack with file io make fortrans oldest feature, speed, toast. Help :( Edit: oh yagh: Mon is complex Hold is complex Trans is real

0
116
Member Avatar for jmandumpal

Friends, I would like to reformat a file ( fort.80) to fort.90! For that I used type constructs for reading the input ( fort.80) as well as writing it to output ( fort.90). I can successfully do copying all but one case (dihedral), where the output file looks blank ( …

Member Avatar for jmandumpal
0
174
Member Avatar for Takafoo

Hi I am new to Fortran and am getting the below error when I try and compile using ifort 100.f90 [QUOTE] /tmp/ifortN2Zshv.o: In function `MAIN__': 100.f90:(.text+0x25a2): undefined reference to `zgesv_'[/QUOTE] I am not sure how to correct this and cannot find anything in my searches so any help would be …

Member Avatar for Takafoo
0
206

The End.