[cig-commits] [commit] devel: build: Add shared module to auxiliaries compile. (c1c4e4f)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Mon Sep 8 12:16:34 PDT 2014


Repository : https://github.com/geodynamics/specfem3d_globe

On branch  : devel
Link       : https://github.com/geodynamics/specfem3d_globe/compare/b506c88ca1fc6f108c2ab7d20bac9e8485f89294...c1c4e4f4cce8f2e93b8bc2afea58ab7c35ac3dd1

>---------------------------------------------------------------

commit c1c4e4f4cce8f2e93b8bc2afea58ab7c35ac3dd1
Author: Elliott Sales de Andrade <esalesde at physics.utoronto.ca>
Date:   Mon Sep 8 15:01:34 2014 -0400

    build: Add shared module to auxiliaries compile.
    
    This problem seems to affect PGI only. I guess all the other compilers
    optimize and fold the constants in, but PGI still requires the constants
    module to link everything.


>---------------------------------------------------------------

c1c4e4f4cce8f2e93b8bc2afea58ab7c35ac3dd1
 src/auxiliaries/rules.mk | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/src/auxiliaries/rules.mk b/src/auxiliaries/rules.mk
index 3a28dbe..6aa1416 100644
--- a/src/auxiliaries/rules.mk
+++ b/src/auxiliaries/rules.mk
@@ -97,6 +97,7 @@ xconvolve_source_timefunction_OBJECTS = \
 	$(EMPTY_MACRO)
 
 xconvolve_source_timefunction_SHARED_OBJECTS = \
+	$O/shared_par.shared_module.o \
 	$(EMPTY_MACRO)
 
 ${E}/xconvolve_source_timefunction: $(xconvolve_source_timefunction_OBJECTS) $(xconvolve_source_timefunction_SHARED_OBJECTS)
@@ -138,6 +139,7 @@ xcombine_paraview_strain_data_OBJECTS = \
 	$(EMPTY_MACRO)
 
 xcombine_paraview_strain_data_SHARED_OBJECTS = \
+	$O/shared_par.shared_module.o \
 	$O/binary_c_io.cc.o \
 	$(EMPTY_MACRO)
 
@@ -151,6 +153,7 @@ xcombine_surf_data_OBJECTS = \
 	$(EMPTY_MACRO)
 
 xcombine_surf_data_SHARED_OBJECTS = \
+	$O/shared_par.shared_module.o \
 	$O/binary_c_io.cc.o \
 	$(EMPTY_MACRO)
 
@@ -164,6 +167,7 @@ xcombine_vol_data_OBJECTS = \
 	$(EMPTY_MACRO)
 
 xcombine_vol_data_SHARED_OBJECTS = \
+	$O/shared_par.shared_module.o \
 	$O/binary_c_io.cc.o \
 	$O/exit_mpi.shared.o \
 	$O/intgrl.shared.o \
@@ -186,6 +190,7 @@ xcombine_vol_data_adios_OBJECTS = \
 	$(EMPTY_MACRO)
 
 xcombine_vol_data_adios_SHARED_OBJECTS = \
+	$O/shared_par.shared_module.o \
 	$O/binary_c_io.cc.o \
 	$O/exit_mpi.shared.o \
 	$O/intgrl.shared.o \
@@ -209,6 +214,7 @@ xcombine_vol_data_vtk_OBJECTS = \
 	$(EMPTY_MACRO)
 
 xcombine_vol_data_vtk_SHARED_OBJECTS = \
+	$O/shared_par.shared_module.o \
 	$O/binary_c_io.cc.o \
 	$O/exit_mpi.shared.o \
 	$O/intgrl.shared.o \
@@ -231,6 +237,7 @@ xcombine_vol_data_vtk_adios_OBJECTS = \
 	$(EMPTY_MACRO)
 
 xcombine_vol_data_vtk_adios_SHARED_OBJECTS = \
+	$O/shared_par.shared_module.o \
 	$O/binary_c_io.cc.o \
 	$O/exit_mpi.shared.o \
 	$O/intgrl.shared.o \



More information about the CIG-COMMITS mailing list