Re: Buggy career talk :-P Programming by Reverend Jim …, however, most of our code (AGC/SCADA) was written in FORTRAN. Those of you who made your bones in the punch… FORTRAN Programming Software Development by covert Is here anybody knows FORTRAN well? I have a compiler related problem. Fortran code conversion to Python 3.x Programming Software Development by colby.christensen … ago I wrote a program in Fortran for a structural analysis class. At…would try to convert the old program from Fortran to Python. I've made some good …matrix is triangular. At this point in the Fortran code, it calls a subroutine which I believe… = p using Gauss Elimination. Here's the Fortran code: DIMENSION BGK(100,30),XL(60),COSX(60… Re: Fortran code conversion to Python 3.x Programming Software Development by DMurthy_1 Hi Nice to see fortran to python conversion. I am a beginner in python. BUt have fortran coding experience. If i provide a small fortran program , would it be possible to provide an equal python code. If yes I will provide the fortran code. Appreciate your help in this regard. Fortran to C Legacy Code Compilation Problem Programming Software Development by rhowell …06*). *decide.c* is the source that contains the translated fortran to c code and *f2c.c* is the header file…; which i assume to mean they are intrinsic to the fortran compiler? Examining the previously used *makefile* to compile the …*f2c.h* there is no preprocessor directives to the listed fortran libaries in the header files. I am a bit stumped… Re: Fortran code conversion to Python 3.x Programming Software Development by veblinriche may i ask?, can the fortran code read every example of truss??. i really want to know, cause i have home work to do. thank you very much Re: Fortran code conversion to Python 3.x Programming Software Development by MrEfgo Hello colby, I tried to run your FORTRAN code on OPEN WATCOM and the log says: cd C:\… Fortran 90 help Programming Software Development by shindu … work but i cant seem to get it right. [CODE=fortran] program test implicit none integer i,j, error,size real… dictates a deferred-shape-array [INPUTMATRIX] C:\Users\Nathan\Documents\fortran\test.f90 8 any ideas why? if there are logic… Re: Fortran 90 help Programming Software Development by shindu I figured it out. If any one is having a problem like this. [CODE=fortran] real, dimension(2), allocatable :: inputMatrix [/CODE] should be [CODE=fortran] real inputMatrix[allocatable](:,:) [/CODE] Re: Fortran to C Legacy Code Compilation Problem Programming Software Development by TrustyTony Are you not in possession of the original fortran code to regenerate the code with current version? FORTRAN: 1-D Array to 3-D? Programming Software Development by DavidB I am trying to understand some old FORTRAN code and have reached a point that puzzles me. In … mistaken?) I am trying to unravel this code. How does FORTRAN access a 1-D array via 3-D array notation… FORTRAN: Can Program Execution Jump Sub-routine? Programming by DavidB I am trying to translate an old FORTRAN program to C++ and appear to have hit a brick … can ever take a particular value. I am not a FORTRAN master; maybe somebody here is more familiar with it. Say… Re: FORTRAN: Can Program Execution Jump Sub-routine? Programming by DavidB … data that you can run through both the FORTRAN ... I do not have a FORTRAN compiler and don't know where I… Re: FORTRAN: Can Program Execution Jump Sub-routine? Programming by Reverend Jim … can be downloaded [here](http://www.cs.yorku.ca/~roumani/fortran/ftn.htm). With a program of this complexity you will… have to run the same test data through the original (FORTRAN) version and the converted (C++) version in order to verify… Re: Fortran newbie: end program in if-statement Programming Software Development by levinia-heks Never mind, I found the goto statement. [URL="http://www.oc.nps.edu/~bird/oc3030_online/fortran/if/if.html"]http://www.oc.nps.edu/~bird/oc3030_online/fortran/if/if.html[/URL] Re: FORTRAN: 1-D Array to 3-D? Programming Software Development by SalmiSoft … see more of the code. To add to the confusion, Fortran arrays are a bit odd in the way they lay… Re: FORTRAN: 1-D Array to 3-D? Programming Software Development by Hiroshe … a 3D array. What happens when you try it? (no fortran compiler on hand) Re: FORTRAN: 1-D Array to 3-D? Programming Software Development by ahmad.syaukani.37 it seems the programmer understand how Fortran pass parameter between subroutine. Actually all parameters are passed as … Re: FORTRAN: 1-D Array to 3-D? Programming Software Development by ahmad.syaukani.37 it seems the programmer understand how Fortran pass parameter between subroutine. Actually all parameters are passed as … Re: FORTRAN: 1-D Array to 3-D? Programming Software Development by taichichuan In this case, FORTRAN formats arrays in column-major order. That is, columns are adjacent in memory instead of the rows (C is row-major order). So, the developer is taking advantage of that knowledge in the way he/she is passing parameters. As you can see, this is really bad practice because it confuses the hell out of folks looking at the code. Re: FORTRAN: Can Program Execution Jump Sub-routine? Programming by Reverend Jim Can you post the code? I spent a couple of decades programming in FORTRAN. Depending on the dialect and how much I remember I might be able to help. Re: FORTRAN: Can Program Execution Jump Sub-routine? Programming by Reverend Jim That is some massively butt-ugly code. I hope you have a large amount of test data that you can run through both the FORTRAN and C++ versions so that you can verify your translation. Re: FORTRAN: Can Program Execution Jump Sub-routine? Programming by rubberman My advice is to not try and do a direct translation from Fortran to C++, but to first analyze what the code does, and then re-implement that in C++. There are tools, such as Enterprise Architect that can reverse engineer code into UML models, state machines, etc. which can help with this process. Re: FORTRAN: Can Program Execution Jump Sub-routine? Programming by Reverend Jim … the way, if you download and use the York free FORTRAN compiler I suggested I should point out that the command… Re: FORTRAN: Can Program Execution Jump Sub-routine? Programming by rubberman … GNU debugger. FWIW, I have had to reverse-engineer worse Fortran code than this. It will take some thinking "outside… Fortran - Fibonacci search not as efficient as it should be Programming Software Development by beatlea Hello, I coded binary and Fibonacci search algorithms in Fortran and was trying to determine for what size of array … Fortran ELF 90 Programming Software Development by cmv I am doing a Monte Carlo simulation for my dissertation and must use Fortran ELF 90 Any body out there that can help me from time to time when I get stuck? I am auditing an advanced C++ class and understand about half of it. FORTRAN language Programming Software Development by coool_iq [hello] please if anyone knows the easiest and fastest way to download FORTRAN 77.it will be a great help. [thankyou] Re: FORTRAN language Programming Software Development by Salem [url]http://gcc.gnu.org/fortran/[/url] Fortran newbie: end program in if-statement Programming Software Development by levinia-heks I need to code a very basic fortran program that takes command line input, and I'd like …