Daer Felix, Thanks for the information.
I have now managed to compile it, but I'm not sure why or how. Instead of installing an older fortran, I tried some of the -std= options. These worked, then they didn't work, then I managed to compile it without a -std= option! The only problem after that was that it couldn't find libgfortran.so.3. I found a suggestion on the web to extract the library then just copy it manually to /usr/local/lib. Suddenly it works! I haven't tested it fully yet, as I have no GUI at the moment (working from home). Will test more tomorrow. Many thanks, Rod -- Roderick Stewart Research Fellow (Volcano-Seismology), Montserrat Volcano Observatory www.mvo.ms <http://www.mvo.ms/> email: [email protected] <mailto:[email protected]>, [email protected] <mailto:[email protected]>, [email protected] <mailto:[email protected]> phone: (+1-664) 491-5647 fax: (+1-664) 491-2423 direct line: (+1-664) 491-5726 mobile: (+1-664) 495-0743 home: (+1-664) 491-3139 roaming: +44 7452 023889 trinidad: +1 (868) 780-4296 > On 27 Aug 2020, at 03:20, Felix Halpaap <[email protected]> wrote: > > Hi Rodrick (and Carlos, who probably has the same issue), > > this error is very likely from due to trying to compile with gcc9 / > gfortran9, or other recent versions that put some stricter rules on the code > into place. We should fix that in the code, or at least update the manual > with some information regarding the issue. > > You should be fine if you install an older version of gcc/gfortran and use it > to compile; which should be as simple with the package manager ("sudo apt-get > install gcc6 gfortran6" (or 7 or 8, not sure which exactly still works), and > then change the link to the compiler in the Makefile to the older versions. > > Hope this helps - let me know if not, then I'll test more myself. > > Cheers, > Felix > > -- > Felix Halpaap| Postdoctoral Research Fellow | Dep. of Earth Science | > University of Bergen > Allégaten 41, 5007 Bergen, Norway | Office 2B18 | [email protected] > <mailto:[email protected]> | +47 55 58 34 11 > > > > > On 26/08/2020 20.11, Carlos Tenorio wrote: >> Dear admins, >> First of all, thanks for the hard work of maintaining this useful software. >> In Ubuntu 20.04 when trying to compile seisan with " make all" from the PRO >> directory I have the errors shown at the bottom. No seisan.a file gets made >> in the LIB directory. >> >> I think the culprit lies in the new libgfortran5 libraries that come with >> this new distribution, that may not be backward compatible. >> Is there a workaround to this problem? >> should I go back to an older version of Ubuntu? >> I really appreciate some insight into these errors, never had this problem >> before. >> Cheers >> Carlos Tenorio >> %%%%%%%%%%%%%% >> Error: Actual argument contains too few elements for dummy argument ‘v’ >> (150/200) at (1) >> hyposub6.for:174:26: >> >> 174 | call >> ttcal(n_layer,v,z,d,vr,grad,z_hypo,p,phi,dist,tmin,n_hypo, >> | 1 >> Error: Actual argument contains too few elements for dummy argument ‘v’ >> (150/200) at (1) >> make[1]: *** [Makefile:391: hyposub6.o] Error 1 >> make[1]: Leaving directory '/home/carlos/seismo/LIB' >> -------------------------------------------------- >> ---- COMPILING SEISAN PROGRAMS ------------------- >> -------------------------------------------------- >> make: *** No rule to make target '../LIB/./seisan.a', needed by >> 'getstressdrop'. Stop. >> >> >> >> >> _______________________________________________ >> seisan mailing list >> [email protected] <mailto:[email protected]> >> https://mailman.uib.no/listinfo/seisan >> <https://mailman.uib.no/listinfo/seisan> > _______________________________________________ > seisan mailing list > [email protected] > https://mailman.uib.no/listinfo/seisan
_______________________________________________ seisan mailing list [email protected] https://mailman.uib.no/listinfo/seisan
