Perhaps someone can assist me make gfortran-7 as the alternative to gfortran-5. I am now trying to figure out how to make gfortran-7 the default, currently -version shows gfortran-5. Perhaps because of gcc-7, gofrtran-7 has installed. I have done a selfupdate and updated all outdated ports. in both cases nothing happens and gfortran is still not installed. port upgrade -enforce-variants gcc45 +gfortran. I have also tried the following as suggested by others: port upgrade gcc45 +gfortran. Be sure to used the correct python shell when running the CAMFR install script, and note that CAMFR will only be installed to this particular python interpreter unless you manually copy the module into another site-packages. The gcc45 installs fine, but gfortran never installs. I managed to install gfortran-7 with sudo apt-get install gfortran The following instructions will install a new Python 2.7 interpreter, alongside your built-in MacOS Python installation. I installed fink then fort77 but when I run fort77 test.f Cant exec 'cc': No such file or directory at /sw/bin/fort77 line 392. ![]() Hello again, my apologies to those who have spent time looking at my problem. I am also trying to install Fortran 77 compiler. Installing gfortran from gcc source, which provides for specifying languages to be installed gives an error (sfp-exceptions.c) at the make stage.ĭoes anyone know how I can have gfortran-7 installed. I have successfully installed gcc-7 with sudo sed -i 's/xenial/zesty/g' /etc//ubuntu-toolchain-r*.list
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |