Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
15 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -379,11 +379,14 @@ $(LIBDIR)/lib$(MG5AMC_COMMONLIB).so: ../../src/*.h ../../src/*.cc

#-------------------------------------------------------------------------------

MG5AMC_CXXLIB = mg5amc_cxx
processid_short=$(shell basename $(CURDIR) | awk -F_ '{print $$(NF-1)"_"$$NF}')
###$(info processid_short=$(processid_short))

MG5AMC_CXXLIB = mg5amc_$(processid_short)_cxx
cxx_objects=$(BUILDDIR)/CPPProcess.o $(BUILDDIR)/RandomNumberKernels.o $(BUILDDIR)/RamboSamplingKernels.o $(BUILDDIR)/MatrixElementKernels.o $(BUILDDIR)/BridgeKernels.o $(BUILDDIR)/CrossSectionKernels.o

ifneq ($(NVCC),)
MG5AMC_CULIB = mg5amc_cu
MG5AMC_CULIB = mg5amc_$(processid_short)_cu
cu_objects=$(BUILDDIR)/gCPPProcess.o $(BUILDDIR)/gRandomNumberKernels.o $(BUILDDIR)/gRamboSamplingKernels.o $(BUILDDIR)/gMatrixElementKernels.o $(BUILDDIR)/gBridgeKernels.o $(BUILDDIR)/gCrossSectionKernels.o
endif

Expand All @@ -405,7 +408,7 @@ endif
# Target (and build rules): Fortran include files
$(INCDIR)/%%.inc : ../%%.inc
@if [ ! -d $(INCDIR) ]; then echo "mkdir -p $(INCDIR)"; mkdir -p $(INCDIR); fi
cp -i $< $@
\cp $< $@

#-------------------------------------------------------------------------------

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,9 @@ namespace mg5amcCpu
mgDebugInitialise();

// Denominators: spins, colors and identical particles
const int denominators = %(den_factors)s; // FIXME: assume process.nprocesses == 1 for the moment (eventually denominators[nprocesses]?)
constexpr int nprocesses = %(nproc)i;
static_assert( nprocesses == 1, "Assume nprocesses == 1" ); // FIXME (#343): assume nprocesses == 1
constexpr int denominators[%(nproc)i] = { %(den_factors)s };

// Set the parameters which change event by event
// Need to discuss this with Stefan
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@
// https://www.uzh.ch/cmsssl/physik/dam/jcr:2e24b7b1-f4d7-4160-817e-47b13dbf1d7c/Handout_4_2016-UZH.pdf]
// FIXME: assume process.nprocesses == 1 for the moment (eventually: need a loop over processes here?)
#ifdef __CUDACC__
allMEs[ievt] /= denominators;
allMEs[ievt] /= denominators[0]; // FIXME (#343): assume nprocesses == 1
#else
for( int ipagV = 0; ipagV < npagV; ++ipagV )
{
for( int ieppV = 0; ieppV < neppV; ieppV++ )
allMEs[ipagV * neppV + ieppV] /= denominators;
allMEs[ipagV * neppV + ieppV] /= denominators[0]; // FIXME (#343): assume nprocesses == 1
}
#endif
mgDebugFinalise();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1050,6 +1050,9 @@ def get_process_info_lines(self, matrix_element):
def generate_process_files(self):
"""Generate mgOnGpuConfig.h, CPPProcess.cc, CPPProcess.h, check_sa.cc, gXXX.cu links"""
misc.sprint('Entering PLUGIN_OneProcessExporter.generate_process_files')
if self.matrix_elements[0].get('has_mirror_process'):
self.matrix_elements[0].set('has_mirror_process', False)
self.nprocesses/=2
super(export_cpp.OneProcessExporterGPU, self).generate_process_files()
self.edit_check_sa()
self.edit_mgonGPU()
Expand Down
20 changes: 10 additions & 10 deletions epochX/cudacpp/ee_mumu.auto/CODEGEN_cudacpp_ee_mumu_log.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ generate e+ e- > mu+ mu-
No model currently active, so we import the Standard Model
INFO: load particles
INFO: load vertices
DEBUG: model prefixing takes 0.006870269775390625 
DEBUG: model prefixing takes 0.006913900375366211 
INFO: Restrict model sm with file models/sm/restrict_default.dat .
INFO: Change particles name to pass to MG5 convention
Defined multiparticle p = g u c d s u~ c~ d~ s~
Expand Down Expand Up @@ -84,15 +84,15 @@ INFO: Processing color information for process: e+ e- > mu+ mu- @1
INFO: Creating files in directory /data/avalassi/GPU2020/MG5aMC/3.1.1_lo_vectorization/CODEGEN_cudacpp_ee_mumu/SubProcesses/P1_Sigma_sm_epem_mupmum
DEBUG: Entering PLUGIN_OneProcessExporter.generate_process_files [model_handling.py at line 1052] 
FileWriter <class 'PLUGIN.CUDACPP_SA_OUTPUT.model_handling.PLUGIN_FileWriter'> for /data/avalassi/GPU2020/MG5aMC/3.1.1_lo_vectorization/CODEGEN_cudacpp_ee_mumu/SubProcesses/P1_Sigma_sm_epem_mupmum/./CPPProcess.h
DEBUG: Entering PLUGIN_OneProcessExporter.write_process_h_file [model_handling.py at line 1118] 
DEBUG: Entering PLUGIN_OneProcessExporter.write_process_h_file [model_handling.py at line 1121] 
FileWriter <class 'PLUGIN.CUDACPP_SA_OUTPUT.model_handling.PLUGIN_FileWriter'> for /data/avalassi/GPU2020/MG5aMC/3.1.1_lo_vectorization/CODEGEN_cudacpp_ee_mumu/SubProcesses/P1_Sigma_sm_epem_mupmum/./CPPProcess.cc
DEBUG: Entering PLUGIN_OneProcessExporter.write_process_cc_file [model_handling.py at line 1140] 
DEBUG: Entering PLUGIN_OneProcessExporter.write_process_cc_file [model_handling.py at line 1143] 
DEBUG: only one Matrix-element supported? 
INFO: Created files CPPProcess.h and CPPProcess.cc in directory /data/avalassi/GPU2020/MG5aMC/3.1.1_lo_vectorization/CODEGEN_cudacpp_ee_mumu/SubProcesses/P1_Sigma_sm_epem_mupmum/.
DEBUG: Entering PLUGIN_OneProcessExporter.edit_check_sa [model_handling.py at line 1070] 
DEBUG: Entering PLUGIN_OneProcessExporter.edit_mgonGPU [model_handling.py at line 1087] 
DEBUG: Entering PLUGIN_OneProcessExporter.edit_processidfile [model_handling.py at line 1094] 
DEBUG: Entering PLUGIN_OneProcessExporter.edit_testxxx [model_handling.py at line 1106] 
DEBUG: Entering PLUGIN_OneProcessExporter.edit_check_sa [model_handling.py at line 1073] 
DEBUG: Entering PLUGIN_OneProcessExporter.edit_mgonGPU [model_handling.py at line 1090] 
DEBUG: Entering PLUGIN_OneProcessExporter.edit_processidfile [model_handling.py at line 1097] 
DEBUG: Entering PLUGIN_OneProcessExporter.edit_testxxx [model_handling.py at line 1109] 
Generated helas calls for 1 subprocesses (2 diagrams) in 0.005 s
DEBUG: Entering PLUGIN_ProcessExporter.convert_model (create the model) [output.py at line 176] 
ALOHA: aloha starts to compute helicity amplitudes
Expand Down Expand Up @@ -126,6 +126,6 @@ INFO: /data/avalassi/GPU2020/MG5aMC/3.1.1_lo_vectorization/CODEGEN_cudacpp_ee_mu
DEBUG: Entering PLUGIN_ProcessExporter.finalize [output.py at line 185] 
quit

real 0m1.059s
user 0m0.914s
sys 0m0.125s
real 0m1.076s
user 0m0.925s
sys 0m0.123s
9 changes: 6 additions & 3 deletions epochX/cudacpp/ee_mumu.auto/SubProcesses/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -379,11 +379,14 @@ $(LIBDIR)/lib$(MG5AMC_COMMONLIB).so: ../../src/*.h ../../src/*.cc

#-------------------------------------------------------------------------------

MG5AMC_CXXLIB = mg5amc_cxx
processid_short=$(shell basename $(CURDIR) | awk -F_ '{print $$(NF-1)"_"$$NF}')
###$(info processid_short=$(processid_short))

MG5AMC_CXXLIB = mg5amc_$(processid_short)_cxx
cxx_objects=$(BUILDDIR)/CPPProcess.o $(BUILDDIR)/RandomNumberKernels.o $(BUILDDIR)/RamboSamplingKernels.o $(BUILDDIR)/MatrixElementKernels.o $(BUILDDIR)/BridgeKernels.o $(BUILDDIR)/CrossSectionKernels.o

ifneq ($(NVCC),)
MG5AMC_CULIB = mg5amc_cu
MG5AMC_CULIB = mg5amc_$(processid_short)_cu
cu_objects=$(BUILDDIR)/gCPPProcess.o $(BUILDDIR)/gRandomNumberKernels.o $(BUILDDIR)/gRamboSamplingKernels.o $(BUILDDIR)/gMatrixElementKernels.o $(BUILDDIR)/gBridgeKernels.o $(BUILDDIR)/gCrossSectionKernels.o
endif

Expand All @@ -405,7 +408,7 @@ endif
# Target (and build rules): Fortran include files
$(INCDIR)/%.inc : ../%.inc
@if [ ! -d $(INCDIR) ]; then echo "mkdir -p $(INCDIR)"; mkdir -p $(INCDIR); fi
cp -i $< $@
\cp $< $@

#-------------------------------------------------------------------------------

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,9 @@ namespace mg5amcCpu
mgDebugInitialise();

// Denominators: spins, colors and identical particles
const int denominators = 4; // FIXME: assume process.nprocesses == 1 for the moment (eventually denominators[nprocesses]?)
constexpr int nprocesses = 1;
static_assert( nprocesses == 1, "Assume nprocesses == 1" ); // FIXME (#343): assume nprocesses == 1
constexpr int denominators[1] = { 4 };

// Set the parameters which change event by event
// Need to discuss this with Stefan
Expand Down Expand Up @@ -561,12 +563,12 @@ namespace mg5amcCpu
// https://www.uzh.ch/cmsssl/physik/dam/jcr:2e24b7b1-f4d7-4160-817e-47b13dbf1d7c/Handout_4_2016-UZH.pdf]
// FIXME: assume process.nprocesses == 1 for the moment (eventually: need a loop over processes here?)
#ifdef __CUDACC__
allMEs[ievt] /= denominators;
allMEs[ievt] /= denominators[0]; // FIXME (#343): assume nprocesses == 1
#else
for( int ipagV = 0; ipagV < npagV; ++ipagV )
{
for( int ieppV = 0; ieppV < neppV; ieppV++ )
allMEs[ipagV * neppV + ieppV] /= denominators;
allMEs[ipagV * neppV + ieppV] /= denominators[0]; // FIXME (#343): assume nprocesses == 1
}
#endif
mgDebugFinalise();
Expand Down
9 changes: 6 additions & 3 deletions epochX/cudacpp/ee_mumu/SubProcesses/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -379,11 +379,14 @@ $(LIBDIR)/lib$(MG5AMC_COMMONLIB).so: ../../src/*.h ../../src/*.cc

#-------------------------------------------------------------------------------

MG5AMC_CXXLIB = mg5amc_cxx
processid_short=$(shell basename $(CURDIR) | awk -F_ '{print $$(NF-1)"_"$$NF}')
###$(info processid_short=$(processid_short))

MG5AMC_CXXLIB = mg5amc_$(processid_short)_cxx
cxx_objects=$(BUILDDIR)/CPPProcess.o $(BUILDDIR)/RandomNumberKernels.o $(BUILDDIR)/RamboSamplingKernels.o $(BUILDDIR)/MatrixElementKernels.o $(BUILDDIR)/BridgeKernels.o $(BUILDDIR)/CrossSectionKernels.o

ifneq ($(NVCC),)
MG5AMC_CULIB = mg5amc_cu
MG5AMC_CULIB = mg5amc_$(processid_short)_cu
cu_objects=$(BUILDDIR)/gCPPProcess.o $(BUILDDIR)/gRandomNumberKernels.o $(BUILDDIR)/gRamboSamplingKernels.o $(BUILDDIR)/gMatrixElementKernels.o $(BUILDDIR)/gBridgeKernels.o $(BUILDDIR)/gCrossSectionKernels.o
endif

Expand All @@ -405,7 +408,7 @@ endif
# Target (and build rules): Fortran include files
$(INCDIR)/%.inc : ../%.inc
@if [ ! -d $(INCDIR) ]; then echo "mkdir -p $(INCDIR)"; mkdir -p $(INCDIR); fi
cp -i $< $@
\cp $< $@

#-------------------------------------------------------------------------------

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,9 @@ namespace mg5amcCpu
mgDebugInitialise();

// Denominators: spins, colors and identical particles
const int denominators = 4; // FIXME: assume process.nprocesses == 1 for the moment (eventually denominators[nprocesses]?)
constexpr int nprocesses = 1;
static_assert( nprocesses == 1, "Assume nprocesses == 1" ); // FIXME (#343): assume nprocesses == 1
constexpr int denominators[1] = { 4 };

// Set the parameters which change event by event
// Need to discuss this with Stefan
Expand Down Expand Up @@ -561,12 +563,12 @@ namespace mg5amcCpu
// https://www.uzh.ch/cmsssl/physik/dam/jcr:2e24b7b1-f4d7-4160-817e-47b13dbf1d7c/Handout_4_2016-UZH.pdf]
// FIXME: assume process.nprocesses == 1 for the moment (eventually: need a loop over processes here?)
#ifdef __CUDACC__
allMEs[ievt] /= denominators;
allMEs[ievt] /= denominators[0]; // FIXME (#343): assume nprocesses == 1
#else
for( int ipagV = 0; ipagV < npagV; ++ipagV )
{
for( int ieppV = 0; ieppV < neppV; ieppV++ )
allMEs[ipagV * neppV + ieppV] /= denominators;
allMEs[ipagV * neppV + ieppV] /= denominators[0]; // FIXME (#343): assume nprocesses == 1
}
#endif
mgDebugFinalise();
Expand Down
30 changes: 15 additions & 15 deletions epochX/cudacpp/gg_tt.auto/CODEGEN_cudacpp_gg_tt_log.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ generate g g > t t~
No model currently active, so we import the Standard Model
INFO: load particles
INFO: load vertices
DEBUG: model prefixing takes 0.006856679916381836 
DEBUG: model prefixing takes 0.006908893585205078 
INFO: Restrict model sm with file models/sm/restrict_default.dat .
INFO: Change particles name to pass to MG5 convention
Defined multiparticle p = g u c d s u~ c~ d~ s~
Expand Down Expand Up @@ -85,25 +85,25 @@ INFO: Processing color information for process: g g > t t~ @1
INFO: Creating files in directory /data/avalassi/GPU2020/MG5aMC/3.1.1_lo_vectorization/CODEGEN_cudacpp_gg_tt/SubProcesses/P1_Sigma_sm_gg_ttx
DEBUG: Entering PLUGIN_OneProcessExporter.generate_process_files [model_handling.py at line 1052] 
FileWriter <class 'PLUGIN.CUDACPP_SA_OUTPUT.model_handling.PLUGIN_FileWriter'> for /data/avalassi/GPU2020/MG5aMC/3.1.1_lo_vectorization/CODEGEN_cudacpp_gg_tt/SubProcesses/P1_Sigma_sm_gg_ttx/./CPPProcess.h
DEBUG: Entering PLUGIN_OneProcessExporter.write_process_h_file [model_handling.py at line 1118] 
DEBUG: Entering PLUGIN_OneProcessExporter.write_process_h_file [model_handling.py at line 1121] 
FileWriter <class 'PLUGIN.CUDACPP_SA_OUTPUT.model_handling.PLUGIN_FileWriter'> for /data/avalassi/GPU2020/MG5aMC/3.1.1_lo_vectorization/CODEGEN_cudacpp_gg_tt/SubProcesses/P1_Sigma_sm_gg_ttx/./CPPProcess.cc
DEBUG: Entering PLUGIN_OneProcessExporter.write_process_cc_file [model_handling.py at line 1140] 
DEBUG: call =  vxxxxx( momenta,m_pars->%s, cHel[ihel][%d],%+d, w_sv[%d], %d ); [model_handling.py at line 1426] 
DEBUG: ('ZERO', 0, -1, 0, 0) [model_handling.py at line 1427] 
DEBUG: call =  vxxxxx( momenta,m_pars->%s, cHel[ihel][%d],%+d, w_sv[%d], %d ); [model_handling.py at line 1426] 
DEBUG: ('ZERO', 1, -1, 1, 1) [model_handling.py at line 1427] 
DEBUG: Entering PLUGIN_OneProcessExporter.write_process_cc_file [model_handling.py at line 1143] 
DEBUG: call =  vxxxxx( momenta,m_pars->%s, cHel[ihel][%d],%+d, w_sv[%d], %d ); [model_handling.py at line 1429] 
DEBUG: ('ZERO', 0, -1, 0, 0) [model_handling.py at line 1430] 
DEBUG: call =  vxxxxx( momenta,m_pars->%s, cHel[ihel][%d],%+d, w_sv[%d], %d ); [model_handling.py at line 1429] 
DEBUG: ('ZERO', 1, -1, 1, 1) [model_handling.py at line 1430] 
DEBUG: only one Matrix-element supported? 
INFO: Created files CPPProcess.h and CPPProcess.cc in directory /data/avalassi/GPU2020/MG5aMC/3.1.1_lo_vectorization/CODEGEN_cudacpp_gg_tt/SubProcesses/P1_Sigma_sm_gg_ttx/.
DEBUG: Entering PLUGIN_OneProcessExporter.edit_check_sa [model_handling.py at line 1070] 
DEBUG: Entering PLUGIN_OneProcessExporter.edit_mgonGPU [model_handling.py at line 1087] 
DEBUG: Entering PLUGIN_OneProcessExporter.edit_processidfile [model_handling.py at line 1094] 
DEBUG: Entering PLUGIN_OneProcessExporter.edit_testxxx [model_handling.py at line 1106] 
DEBUG: Entering PLUGIN_OneProcessExporter.edit_check_sa [model_handling.py at line 1073] 
DEBUG: Entering PLUGIN_OneProcessExporter.edit_mgonGPU [model_handling.py at line 1090] 
DEBUG: Entering PLUGIN_OneProcessExporter.edit_processidfile [model_handling.py at line 1097] 
DEBUG: Entering PLUGIN_OneProcessExporter.edit_testxxx [model_handling.py at line 1109] 
Generated helas calls for 1 subprocesses (3 diagrams) in 0.008 s
DEBUG: Entering PLUGIN_ProcessExporter.convert_model (create the model) [output.py at line 176] 
ALOHA: aloha starts to compute helicity amplitudes
ALOHA: aloha creates VVV1 set of routines with options: P0
ALOHA: aloha creates FFV1 routines
ALOHA: aloha creates 2 routines in 0.163 s
ALOHA: aloha creates 2 routines in 0.162 s
<class 'aloha.create_aloha.AbstractRoutine'> VVV1
DEBUG: language =  <class 'PLUGIN.CUDACPP_SA_OUTPUT.model_handling.PLUGIN_ALOHAWriter'> [aloha_writers.py at line 2451] 
<class 'aloha.create_aloha.AbstractRoutine'> FFV1
Expand All @@ -121,6 +121,6 @@ INFO: /data/avalassi/GPU2020/MG5aMC/3.1.1_lo_vectorization/CODEGEN_cudacpp_gg_tt
DEBUG: Entering PLUGIN_ProcessExporter.finalize [output.py at line 185] 
quit

real 0m1.080s
user 0m0.773s
sys 0m0.129s
real 0m1.152s
user 0m0.777s
sys 0m0.141s
9 changes: 6 additions & 3 deletions epochX/cudacpp/gg_tt.auto/SubProcesses/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -379,11 +379,14 @@ $(LIBDIR)/lib$(MG5AMC_COMMONLIB).so: ../../src/*.h ../../src/*.cc

#-------------------------------------------------------------------------------

MG5AMC_CXXLIB = mg5amc_cxx
processid_short=$(shell basename $(CURDIR) | awk -F_ '{print $$(NF-1)"_"$$NF}')
###$(info processid_short=$(processid_short))

MG5AMC_CXXLIB = mg5amc_$(processid_short)_cxx
cxx_objects=$(BUILDDIR)/CPPProcess.o $(BUILDDIR)/RandomNumberKernels.o $(BUILDDIR)/RamboSamplingKernels.o $(BUILDDIR)/MatrixElementKernels.o $(BUILDDIR)/BridgeKernels.o $(BUILDDIR)/CrossSectionKernels.o

ifneq ($(NVCC),)
MG5AMC_CULIB = mg5amc_cu
MG5AMC_CULIB = mg5amc_$(processid_short)_cu
cu_objects=$(BUILDDIR)/gCPPProcess.o $(BUILDDIR)/gRandomNumberKernels.o $(BUILDDIR)/gRamboSamplingKernels.o $(BUILDDIR)/gMatrixElementKernels.o $(BUILDDIR)/gBridgeKernels.o $(BUILDDIR)/gCrossSectionKernels.o
endif

Expand All @@ -405,7 +408,7 @@ endif
# Target (and build rules): Fortran include files
$(INCDIR)/%.inc : ../%.inc
@if [ ! -d $(INCDIR) ]; then echo "mkdir -p $(INCDIR)"; mkdir -p $(INCDIR); fi
cp -i $< $@
\cp $< $@

#-------------------------------------------------------------------------------

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,9 @@ namespace mg5amcCpu
mgDebugInitialise();

// Denominators: spins, colors and identical particles
const int denominators = 256; // FIXME: assume process.nprocesses == 1 for the moment (eventually denominators[nprocesses]?)
constexpr int nprocesses = 1;
static_assert( nprocesses == 1, "Assume nprocesses == 1" ); // FIXME (#343): assume nprocesses == 1
constexpr int denominators[1] = { 256 };

// Set the parameters which change event by event
// Need to discuss this with Stefan
Expand Down Expand Up @@ -566,12 +568,12 @@ namespace mg5amcCpu
// https://www.uzh.ch/cmsssl/physik/dam/jcr:2e24b7b1-f4d7-4160-817e-47b13dbf1d7c/Handout_4_2016-UZH.pdf]
// FIXME: assume process.nprocesses == 1 for the moment (eventually: need a loop over processes here?)
#ifdef __CUDACC__
allMEs[ievt] /= denominators;
allMEs[ievt] /= denominators[0]; // FIXME (#343): assume nprocesses == 1
#else
for( int ipagV = 0; ipagV < npagV; ++ipagV )
{
for( int ieppV = 0; ieppV < neppV; ieppV++ )
allMEs[ipagV * neppV + ieppV] /= denominators;
allMEs[ipagV * neppV + ieppV] /= denominators[0]; // FIXME (#343): assume nprocesses == 1
}
#endif
mgDebugFinalise();
Expand Down
9 changes: 6 additions & 3 deletions epochX/cudacpp/gg_tt/SubProcesses/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -379,11 +379,14 @@ $(LIBDIR)/lib$(MG5AMC_COMMONLIB).so: ../../src/*.h ../../src/*.cc

#-------------------------------------------------------------------------------

MG5AMC_CXXLIB = mg5amc_cxx
processid_short=$(shell basename $(CURDIR) | awk -F_ '{print $$(NF-1)"_"$$NF}')
###$(info processid_short=$(processid_short))

MG5AMC_CXXLIB = mg5amc_$(processid_short)_cxx
cxx_objects=$(BUILDDIR)/CPPProcess.o $(BUILDDIR)/RandomNumberKernels.o $(BUILDDIR)/RamboSamplingKernels.o $(BUILDDIR)/MatrixElementKernels.o $(BUILDDIR)/BridgeKernels.o $(BUILDDIR)/CrossSectionKernels.o

ifneq ($(NVCC),)
MG5AMC_CULIB = mg5amc_cu
MG5AMC_CULIB = mg5amc_$(processid_short)_cu
cu_objects=$(BUILDDIR)/gCPPProcess.o $(BUILDDIR)/gRandomNumberKernels.o $(BUILDDIR)/gRamboSamplingKernels.o $(BUILDDIR)/gMatrixElementKernels.o $(BUILDDIR)/gBridgeKernels.o $(BUILDDIR)/gCrossSectionKernels.o
endif

Expand All @@ -405,7 +408,7 @@ endif
# Target (and build rules): Fortran include files
$(INCDIR)/%.inc : ../%.inc
@if [ ! -d $(INCDIR) ]; then echo "mkdir -p $(INCDIR)"; mkdir -p $(INCDIR); fi
cp -i $< $@
\cp $< $@

#-------------------------------------------------------------------------------

Expand Down
Loading