File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
epochX/cudacpp/CODEGEN/PLUGIN/CUDACPP_SA_OUTPUT/madgraph/iolibs/template_files/gpu Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -878,7 +878,7 @@ endif
878878$(gpu_fcheckmain ) : LIBFLAGS += $(GPULIBFLAGSRPATH ) # avoid the need for LD_LIBRARY_PATH
879879$(gpu_fcheckmain ) : $(BUILDDIR ) /fcheck_sa_fortran.o $(BUILDDIR ) /fsampler_$(GPUSUFFIX ) .o $(LIBDIR ) /lib$(MG5AMC_GPULIB ) .so $(gpu_objects_exe )
880880ifneq ($(findstring hipcc,$(GPUCC ) ) ,) # link fortran/c++/hip using $FC when hipcc is used #802
881- $(FC) -o $@ $(BUILDDIR)/fcheck_sa_fortran.o $(BUILDDIR)/fsampler_$(GPUSUFFIX).o $(LIBFLAGS) -lgfortran -L$(LIBDIR) -l$(MG5AMC_GPULIB) $(gpu_objects_exe) -lstdc++ -L$(shell cd -L $(shell dirname $(shell $(GPUCC) -print-prog-name=clang))/../..; pwd )/lib -lamdhip64
881+ $(FC) -o $@ $(BUILDDIR)/fcheck_sa_fortran.o $(BUILDDIR)/fsampler_$(GPUSUFFIX).o $(LIBFLAGS) -lgfortran -L$(LIBDIR) -l$(MG5AMC_GPULIB) $(gpu_objects_exe) -lstdc++ -L$(shell hipconfig --rocmpath )/lib -lamdhip64
882882else
883883 $(GPUCC) -o $@ $(BUILDDIR)/fcheck_sa_fortran.o $(BUILDDIR)/fsampler_$(GPUSUFFIX).o $(LIBFLAGS) -lgfortran -L$(LIBDIR) -l$(MG5AMC_GPULIB) $(gpu_objects_exe)
884884endif
@@ -979,7 +979,7 @@ else # link only runTest_$(GPUSUFFIX).o (new: in the past, this was linking both
979979$(gpu_testmain ) : LIBFLAGS += $(GPULIBFLAGSRPATH ) # avoid the need for LD_LIBRARY_PATH
980980$(gpu_testmain ) : $(LIBDIR ) /lib$(MG5AMC_COMMONLIB ) .so $(gpu_objects_lib ) $(gpu_objects_exe ) $(GTESTLIBS )
981981ifneq ($(findstring hipcc,$(GPUCC ) ) ,) # link fortran/c++/hip using $FC when hipcc is used #802
982- $(FC) -o $@ $(gpu_objects_lib) $(gpu_objects_exe) -ldl $(LIBFLAGS) -lstdc++ -lpthread -L$(shell cd -L $(shell dirname $(shell $(GPUCC) -print-prog-name=clang))/../..; pwd )/lib -lamdhip64
982+ $(FC) -o $@ $(gpu_objects_lib) $(gpu_objects_exe) -ldl $(LIBFLAGS) -lstdc++ -lpthread -L$(shell hipconfig --rocmpath )/lib -lamdhip64
983983else
984984 $(GPUCC) -o $@ $(gpu_objects_lib) $(gpu_objects_exe) -ldl $(LIBFLAGS) -lcuda
985985endif
You can’t perform that action at this time.
0 commit comments