Fortran on Windows

Поділитися
Вставка
  • Опубліковано 19 лис 2024

КОМЕНТАРІ • 24

  • @sanjaybhalekar5320
    @sanjaybhalekar5320 10 місяців тому +2

    I started my graduate school previous semester and managed to get a research assistantship. After I started that I quickly saw that most of the CFD codes being written by researchers are being written on fortran and was quickly informed by my colleagues that I will need to write my codes in that language if I need to communicate with other researchers in the same field. Hence, now I am starting to get up to speed with the programming language.

  • @richardjones7984
    @richardjones7984 8 місяців тому +3

    Fortran is still used for super fast scientific computing where the amount of computation is enormous - Astronomy and Physics. Finite Element processing on complex structures. Also for super fast components of Apps and Interactive software. Classic Fortran is almost Assembler and it has been modified for vector computation.

    • @EETechStuff
      @EETechStuff  8 місяців тому +1

      And when I see a research facility post some benchmark studies saying "hey, we had some FORTRAN code doing these scientific calculations, and we totally rewrote the code in C or C++ and found out that the FORTRAN version was X% faster than the totally optimized and perfectly written C or C++ version", then I'll be able to say "yeah, in that one use case it seems faster". But from what I've seen the use of FORTRAN seems more along the lines of "hey, it's been here for decades, and we like it better than C or C++, and if it ain't broke don't fix it". Unfortunately all of the discussions I've found on the subject are fanboys for either side making vague, unsupported statements. In the real world, nothing is always "faster". It depends on implementation, hardware, how well you wrote the code, whether you're comparing apples to apples, and more importantly the task you're working on. Personally, I like FORTRAN a lot more than say C++, but in the real world that's totally irrelevant.

  • @billj5645
    @billj5645 Рік тому +1

    I started in engineering school when Fortran was taught and at my first job the company had a very small minicomputer with a Fortran compiler. I wrote Fortran programs to use in our work. I still have some similar programs that I wrote for myself and I use them occasionally to check things on my own. Some of the programs I have rewritten in C or Pascal (Delphi and Lazarus).

  • @vmisev
    @vmisev Місяць тому

    Thanks for the video! I’m gonna watch your “Introduction to FORTRAN” right next! :)
    1:55 Fortran is still major in the hard-core sci fields like math, physics, astronomy etc., and not only for super-computing - folks are coding Fortran daily in their labs.

  • @f.hababorbitz
    @f.hababorbitz 2 роки тому

    Where I worked my career, Fortran was used initially on a Unisys (Burrows computer, purchased by Honeywell, it was the brunt of the Jetson's UniBlab computer joke), for all the compilers of the early 1970s, e.g. PL1 (Programing Language One), JOVIAL, and assemblers/linkers for various microprocessors, mostly Intel products. When I started work in 1984, the Unisys was a main frame, remote (in California, Seal Beech, and I was located in Iowa). I wrote several EEPROM formaters in Fortran, to take the compiled and linked outputs of the final assembled flight code, and convert to text files that the EEPROM programs would use as input. The main reason for that, back then, we would have to pay for computer time, and it would be over $300 to format the output data, as the tech support department wrote a "Universal PROM formater" that used too much computer time. My program only cost $2.50 to run. And during my EE university tenure, computer cards were used in the late 1970s on an IBM360 main frame.

  • @lucilius9491
    @lucilius9491 Рік тому +3

    the only tutorial which worked on my PC, thanks a lot

  • @srwill999
    @srwill999 2 місяці тому

    Great video - VERY helpful thanks - I'd never have worked out how to get the software and get started without it. Couple of issues (maybe because I installed 32bit version) - main.f90 did not appear in the editor when I first ran CodeBlocks so had to go to the project folder and open/select it, although Code Blocks did not recognize the file type. Also in Settings/Compiler/Toolchain autodetect did not work so I had to set path to C:\Program Files\CodeBlocks\MinGW\bin and also set an additional path to C:\Program Files\CodeBlocks\MinGW\i686-w64-mingw32.

  • @christophe7926
    @christophe7926 3 місяці тому

    Thank you very much for your help.
    Christophe

  • @paulramasco6769
    @paulramasco6769 2 роки тому +1

    Fortran as far I know is still used in a large number of banks and some gov institutes. I think it was last year or 2020 new Jersey had a nationwide search to find fortran programmers because they're losing a lot to retirement.
    I believe that in python, numpy, some code is optimized to use c and fortran for apeed

  • @benblackwell44
    @benblackwell44 Рік тому +1

    Thanks for your interesting video. I wrote my 1st line of fortran code in engineering school in 1965 so I am older than you and still use fortran for "hobby" technical projects in retirement. I am a FORmula TRANslation kind of guy; the math and fortran code have a one-to-one correspondence. I don't get that similar level of correspondence with C, C++ and other more modern languages. Enough philosophy!! Large fortran codes use the unix/linux make utility because you typically maintain separate files for each subroutine. How would you use make files with Code::Blocks?

    • @billj5645
      @billj5645 Рік тому

      I started using Pascal on a PC with Turbo Pascal. I think Pascal has the formula correspondence that Fortran has but has better constructs for making a program simpler- things like better if statements and looping. When you go beyond fortran and pascal into C++ it becomes more work to make the languages do what you want an d it isn't worth it for me. You can search for "sheepdog tutorial" and find some guides for easy ways to learn pascal and lazarus.

  • @rettjaconomaili8201
    @rettjaconomaili8201 9 місяців тому +1

    thank you very much for excelent explanation, i have never faced with this language. though i am sap abaper fortran looks weird for me ))) thankfully i only must close 3 fortran labs

  • @KittiTheGamer
    @KittiTheGamer Рік тому +1

    It's a course in my Undergrad Physics in college.

  • @Kubixox77
    @Kubixox77 2 роки тому +1

    Thanks for the video, helped a lot. In my case I'm gonna use fortran for FEA applications.

    • @EETechStuff
      @EETechStuff  2 роки тому

      Really? Finite element? Why Fortran? Maybe it's for some legacy code, or there's some existing libraries that make using Fortran easier?

    • @Kubixox77
      @Kubixox77 2 роки тому +4

      @@EETechStuff yeah, really:D I'm just starting to work on it, but the reason is that the Abaqus solver is coded in fortran and for non standard problems that cannot be defined in GUI, you need to communicate and modify solvers algorithms via fortran subroutines.

    • @oscarrodera3848
      @oscarrodera3848 Рік тому

      Here as well.

  • @Emma-ef4zq
    @Emma-ef4zq 7 місяців тому

    Hey ! Thanks for the tutorial. When I try to start a new project, it tells me that it couldn't find a fortran compiler. Does it have something to do with where you put your project ?

  • @jerryli5555
    @jerryli5555 Рік тому

    Code::Blocks vs FTN95, which is better?

  • @amrakram3365
    @amrakram3365 Рік тому

    can I install it to Mac OS Ventura on MacBook Pro m1? Thanks

  • @anyaozioma9583
    @anyaozioma9583 Рік тому

    Good evening. Thanks for the video, mine didn't work out. Please can you help me.

  • @mdroman4327
    @mdroman4327 Рік тому

    Thank you so much.

  • @araoluwasimileolufilani6787
    @araoluwasimileolufilani6787 2 роки тому

    COOL