Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internal compiler error gfortran #181

Open
hsorby opened this issue Jun 20, 2019 · 8 comments
Open

Internal compiler error gfortran #181

hsorby opened this issue Jun 20, 2019 · 8 comments

Comments

@hsorby
Copy link
Contributor

hsorby commented Jun 20, 2019

When compiling Iron on Ubuntu 18.04 I am getting the following error:

/home/cmiss/tmp/opencmiss/src/iron/src/fieldml_output_routines.F90:182:0:

       FIELDML_OUTPUT_IMPORT_FML = Fieldml_AddImport( FML_HANDLE, IMPORT_INDEX, cchar(REMOTE_NAME), cchar(REMOTE_NAME) )

internal compiler error: Segmentation fault

this is the gfortran compiler version that comes with Ubutnu 18.04

GNU Fortran (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0
@sgenie68
Copy link

sgenie68 commented Jun 20, 2019 via email

@hsorby hsorby changed the title Internal compiler error gfortran 7.4 Internal compiler error gfortran Jun 21, 2019
@hsorby
Copy link
Contributor Author

hsorby commented Jun 21, 2019

I am also getting the same error on gfortran version 8.3

@sgenie68
Copy link

sgenie68 commented Jun 21, 2019 via email

@sgenie68
Copy link

sgenie68 commented Jun 21, 2019 via email

@chrispbradley
Copy link
Member

I've got 8.3 on my Fedora 29 system and 8.3 works fine and doesn't give a compiler internal error.

@hsorby
Copy link
Contributor Author

hsorby commented Jun 21, 2019

cmiss user on bioeng49 /home/cmiss/tmp directory.

@sgenie68
Copy link

sgenie68 commented Jun 21, 2019 via email

@hsorby
Copy link
Contributor Author

hsorby commented Jun 21, 2019

So the update-alternatives was not done correctly and gfortran wasn't updated to match the gcc version. I have now corrected this and things will now hopefully carry on as before. I am currently waiting to see if this has corrected the problem. Which I think it will.

And please do let us know when you are upgrading software on the build slaves as there are repercussions of these changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants