Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.

Questions tagged [fortran]

Filter by
Sorted by
Tagged with
0 votes
0 answers
5 views

I have a NetCDF question: I was creating a NetCDF4_classic file via Python's xarray package: import xarray as xr ds = xr.Dataset( data_vars={ "Data1": (("time"...
Aki_qwertz's user avatar
1 vote
0 answers
63 views

I have a Fortran based application that is running fine and it provides the correct results when I run it normally (i.e ./myapp); however, when I tried to run it with real-time priority it gives the ...
Anas's user avatar
  • 111
1 vote
1 answer
205 views

Trying to compile ADCIRC, a Fortran program with NetCDF support, and I hit the following error. /usr/bin/ld: cannot find -lhdf5_fortran: No such file or directory collect2: error: ld returned 1 exit ...
Alexandre Georges's user avatar
1 vote
0 answers
105 views

I am trying to run a Fortran program distributed as an executable for Linux (HOM4PS2_64-bit.tar.gz on HOM4PS). The program works fine on a machine running Ubuntu 22.04.1 (kernel: 5.19.0-42-generic). ...
Baryogenesis's user avatar
2 votes
2 answers
289 views

I have the following data that I am processing to get the 1st and 5th column, convert the D format to E format and delete rows that have gibberish numbers such as 9.410-316. DEG = 1.500 2....
csnl's user avatar
  • 35
0 votes
1 answer
72 views

I am trying to run Enzo Project simulation and have followed the steps listed on the website here: https://enzo.readthedocs.io/en/latest/user_guide/bootcamp.html . I have been getting an error and ...
Jacob Krebs's user avatar
3 votes
2 answers
221 views

I'm trying to write my own script to improve some auto-formatting before commiting to a remote repository. I use indenting guides in my IDE and the autoformatters available for my language (FORTRAN) ...
Philip Moloney's user avatar
0 votes
1 answer
637 views

I can't understand why including a text file that contains some C lines in a fortran77 code gives me a warning if I do not use #include. I wrote an example of a code that is supposed to read some text ...
Giorgio Maria Cavallazzi's user avatar
0 votes
1 answer
145 views

I am using Linux Mint 21 Cinammon to install the UrQMD simulation package. I have ROOT installed as well as all the required dependencies as specified by the webpage. The instructions say: $ tar -xvf ...
voidonaut's user avatar
0 votes
1 answer
199 views

I'm working with an older proprietary FORTRAN legacy code from specific corporation (so can't post much source code), I'm having an issue with the file interactions. My compiler bash shell Install is ...
The Immortal's user avatar
0 votes
2 answers
312 views

I have a text file containing 2 columns. The first one has DATES (DD/MM/YYYY) and the second one, numbers. It looks like this: 15/01/1945 105.0 16/01/1945 4.2 17/01/1945 3.0 31/01/1945 12.0 01/02/...
David's user avatar
  • 1
0 votes
0 answers
169 views

system says the latest version of gfortran has been installed when I retry the sudo command, but then i still get the command not found error for gfortran. I'm guessing it's something to do with the ...
antonia's user avatar
0 votes
1 answer
606 views

Is it possible to have Fortran 90 break at a runtime error in GDB? I show here a MWE for a simple routine test.f90 which throws an out of bounds error: program main implicit none integer ...
tdstoff's user avatar
1 vote
1 answer
325 views

I have an old fortran executable foo.exe that requires interactive input. If I call foo.exe from Cywin I am prompted for the interactive input and the program works fine. If I call foo.exe from WSL I ...
Matt's user avatar
  • 83
0 votes
0 answers
538 views

I am trying to solve my question that I've asked here using expect script instead of file redirection. Unfortunately, this solution doesn't work as well (the same behaviour as described in the ...
adhrar_nmatrous's user avatar
2 votes
2 answers
423 views

I've downloaded this program construct2d and compiled it using GNU Fortran gfortran 9.3.0. You can compile the program using gnu make: make (compilation time: 10 seconds on my PC running Ubuntu 20.04 ...
adhrar_nmatrous's user avatar
0 votes
0 answers
77 views

I'm trying to install a large atmospheric model (WRF) on my newly set up Centos 7 machine. To start the installation process, the model's developers give a series of environmental tests. My set up ...
MrCatDad's user avatar
9 votes
2 answers
2k views

I run fortran77 program in terminal ./program and the program ask for input and output file. What should I write to terminal when I have the names of input and output files in a file - in two columns?...
Arrara's user avatar
  • 93
3 votes
1 answer
14k views

I am trying to install a Fortran compiler on my Mac Pro 2019 (running macOS). First step is: sudo apt-get install gfortran but I get error: command not found I also tried brew install gfortran ...
shere's user avatar
  • 149
1 vote
1 answer
2k views

I tried to install GFORTRAN_7 on f29 since I needed libfortran.so.4 for a program. What I did I've found the rmp file (libgfortran4-7.3.1-alt9.x86_64.rpm), downloaded it and tried to install it. I ...
Thanos's user avatar
  • 435
3 votes
1 answer
253 views

I am looking forward to re-run a fortran program I made years ago on Intel Fortran for Windows XP, with external subroutines and modules. I changed recently to Linux. Is there any free Fortran 90 ...
Ernesto Lopez Fune's user avatar
2 votes
0 answers
467 views

I have a strange problem that looks like a Memory Cache Leak (not a memory leak) leading to a slow down of a program. Let me set the stage first. Reproducibly (using ganglia to monitor), on a cluster ...
Laurence Marks's user avatar
0 votes
1 answer
409 views

We have some old binaries which ran on Sun SPARC systems from around 2000, and we'd like to run them again (we do not have the source code.) I tried running the binaries on a Sun Blade 1500 with a ...
lava37's user avatar
  • 1
2 votes
1 answer
908 views

My primary problem is in my Fedora 28, GCC8 is installed. Now, this gives libgfortran.so.5. But many of my applications are not updated and still depends on libgfortran.so.3 So, how can I solve the ...
BaRud's user avatar
  • 1,791
3 votes
1 answer
5k views

I am trying to use fortran code called SAMMY-8 which has its binary ready for use. I was using without any issue while I had f25 installed. When upgrading to f27 I got the following error when trying ...
Thanos's user avatar
  • 435
5 votes
3 answers
7k views

My main problem is getting this error: Makefile:463: recipe for target 'znep.out' failed after running make I was trying to install GPAW (g Projector Augmented Wave method, for DFT simulations) on ...
Joshua Salazar's user avatar
0 votes
1 answer
6k views

I am trying to run a package that strictly depends on Fortran 90, but after running its ./configure file it shows the following error: configure: error: could not find Fortran 90 compiler There are ...
Joshua Salazar's user avatar
2 votes
2 answers
2k views

I want to run a Fortran program on a server. I am able to log into that server using the command: ssh -X [email protected]. address I used mkdir directoryname command to create a directory. Then I ...
Solidification's user avatar
3 votes
1 answer
4k views

I am compiling a model using make. The model has a Makefile that connects the source code with dependent libraries via flags that look like -L/lib1 -L/lib2. But when I try to run that model, it fails ...
Luke Davis's user avatar
1 vote
1 answer
5k views

I'm reworking some Fortran code. I need to remove the pattern (*,*) using vim's search and replace function. The following does not work %s/\<(*,*)\>//gc %s/\<(*\,*)\>//gc %s/(*,*)//gc ...
user121392's user avatar
1 vote
0 answers
982 views

I am working on a command-line Ubuntu system that is on a Parallella (a SOC with a RISC-based muti-core co-processor). I need a Fortran compiler to run some HPC benchmarks but my search is proving ...
Jason Fitch's user avatar
-1 votes
2 answers
1k views

I have installed Fedora Linux on my computer. I would like to have the following software installed on it: fortran gnuplot xfig latex dvips ghostview dvipdf How can I do it?
Razee's user avatar
  • 69
1 vote
2 answers
467 views

I am using FORTRAN, I want to give file name such as it should include processor id of the processor created that file and time-step variable when that file is created. As the name of file should be ...
Sachin Shinde's user avatar
1 vote
0 answers
3k views

I use Ubuntu 14.04 with gfortran 4.8.4 and I need the version 4.9.X to compile some things... I ran the command sudo apt-get gfortran-4.9 and then gfortran --version, but I see that I have 4.8.4 ...
Joshua Salazar's user avatar
1 vote
2 answers
617 views

I've been using the multithreaded linear algebra package jblas on Chrome OS, which is called from some Java code. When attempting matrix multiplication via mmul, the following error is thrown: ...
Mapsy's user avatar
  • 287
0 votes
1 answer
163 views

I have most likely a silly question, and asking perhaps a wrong forum, but don't know where to go. OK, I work with gfortran via ratfor90 (it is a nice little preprocessor for gfortran and fortran90, ...
Al Kap's user avatar
  • 111
4 votes
1 answer
117 views

I have one f77 file,which was created on SunSparc machine.I know that each record contains 5 reals and one integer.Is there any way how I could unpack that file on my Ubuntu 16.04 Intel little-endian ...
MikiBelavista's user avatar
1 vote
0 answers
703 views

I have a fortran program which I compiled myself and I ran the executable hundreds of times (without recompiling or anything), but now when I run it, it crashes instantly with segmentation fault. ...
fifaltra's user avatar
  • 695
3 votes
1 answer
2k views

I am trying to install Octave on CentOS. After running sudo yum install octave ./configure F77=gfortran I got this error: configure: error: A BLAS library was detected but found incompatible with ...
Michael's user avatar
  • 799
0 votes
1 answer
2k views

Attempting to run a configure file for the fv-fileviewer gives me this error: configure: error: Could not find a Fortran compiler in >/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:...
Joseph Farah's user avatar
2 votes
0 answers
75 views

I am trying to run a FORTRAN program on stampede (xsede machine). The error message I am getting is 'heap maxed out'. I think it has something to do with virtual memory allocation. So I use the ...
Osman Mamun's user avatar