-
Notifications
You must be signed in to change notification settings - Fork 96
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
errors when we run: make meshfem3D #756
Comments
could you try out the most recent devel branch version? from the wiki:
this might have been fixed there - and if not, could you specify which gfortran compiler version you used? |
|
Dear Dr. Peter, gfortan version is 9.3.0 is used ram@ram: Regards |
you're still on the master branch then. when cloning, you need to have the flag with your current repo, you still need to checkout the devel branch version explicitely:
to see on which branch you are:
the devel branch version will become the master soon... |
I had the same issue under Ubuntu-2004LTS. Using the 8.0 devel branch worked fine. |
thanks for your feedback! time to update that master branch then... |
could you try out the most recent devel branch version? from the wiki: git clone --recursive --branch devel https://github.com/geodynamics/specfem3d_globe.git this might have been fixed there - and if not, could you specify which gfortran compiler version you used?
|
Specfem3d is configure propoerly, but when we run "$ make meshfem3D" at command prompt it partially run with some errors as shown below:
gfortran -g -O2 -std=gnu -fimplicit-none -frange-check -fmax-errors=10 -pedantic -pedantic-errors -Waliasing -Wampersand -Wcharacter-truncation -Wline-truncation -Wsurprising -Wno-tabs -Wunderflow -ffpe-trap=invalid,zero,overflow -Wunused -Werror -O3 -finline-functions -J./obj -I./obj -I. -I. -I./setup -c -o obj/model_s40rts.check.o src/meshfem3D/model_s40rts.f90
gfortran -g -O2 -std=gnu -fimplicit-none -frange-check -fmax-errors=10 -pedantic -pedantic-errors -Waliasing -Wampersand -Wcharacter-truncation -Wline-truncation -Wsurprising -Wno-tabs -Wunderflow -ffpe-trap=invalid,zero,overflow -Wunused -Werror -O3 -finline-functions -J./obj -I./obj -I. -I. -I./setup -c -o obj/model_s362ani.check.o src/meshfem3D/model_s362ani.f90
src/meshfem3D/model_s362ani.f90:995:0:
995 | substr=string(17:lstr)
|
Error: ‘__builtin_memcpy’ reading 128 bytes from a region of size 112 [-Werror=stringop-overflow=]
src/meshfem3D/model_s362ani.f90:1007:0:
1007 | substr=string(12:len_trim(string))
|
Error: ‘__builtin_memcpy’ reading 128 bytes from a region of size 117 [-Werror=stringop-overflow=]
src/meshfem3D/model_s362ani.f90:1019:0:
1019 | substr=string(26:len_trim(string))
|
Error: ‘__builtin_memcpy’ reading 128 bytes from a region of size 103 [-Werror=stringop-overflow=]
src/meshfem3D/model_s362ani.f90:1026:0:
1026 | substr=string(10:len_trim(string))
|
Error: ‘__builtin_memcpy’ reading 128 bytes from a region of size 119 [-Werror=stringop-overflow=]
src/meshfem3D/model_s362ani.f90:1038:0:
1038 | substr=string(30:len_trim(string))
|
Error: ‘__builtin_memcpy’ reading 128 bytes from a region of size 99 [-Werror=stringop-overflow=]
src/meshfem3D/model_s362ani.f90:1080:0:
1080 | substr=string(10:len_trim(string))
|
Error: ‘__builtin_memcpy’ reading 128 bytes from a region of size 119 [-Werror=stringop-overflow=]
f951: all warnings being treated as errors
make: *** [src/meshfem3D/rules.mk:293: obj/model_s362ani.check.o] Error 1
The text was updated successfully, but these errors were encountered: