diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 7f7d1ba..3eaf588 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -21,3 +21,14 @@ # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. # # + + +#set(PARALLELPROGRAMMING_TARGET_NAME pp) +#add_library(${PARALLELPROGRAMMING_TARGET} INTERFACE) +#target_include_directories(${PARALLELPROGRAMMING_TARGET} INTERFACE +# $ +# $ +# ) +#target_link_libraries(${PARALLELPROGRAMMING_TARGET} INTERFACE Feelpp::feelpp) + + diff --git a/src/MPI/MPI_1/CMakeLists.txt b/src/MPI/MPI_1/CMakeLists.txt index 30ff8cf..42b5ab1 100644 --- a/src/MPI/MPI_1/CMakeLists.txt +++ b/src/MPI/MPI_1/CMakeLists.txt @@ -1,5 +1,5 @@ -project(MPI_bcast) +#project(MPI_bcast) ######## A simple cmakelists.txt file for ... ############# @@ -9,8 +9,16 @@ cmake_minimum_required(VERSION 3.17) set(CMAKE_BUILD_TYPE Release) #set(CMAKE_CXX_COMPILER "/usr/local/bin/g++") +#set(CMAKE_CXX_STANDARD 14) +#set(CMAKE_CXX_COMPILER "/usr/local/bin/g++") +#set(CMAKE_C_COMPILER "/usr/bin/clang-14") +#set(CMAKE_CXX_COMPILER "/usr/bin/clang++-14") +#set(CMAKE_CXX_COMPILER "/usr/bin/gcc") +#set(CMAKE_CXX_COMPILER "/usr/bin/g++-11") + + + -add_executable(MPI_bcast MPI_bcast.cpp) find_package(MPI REQUIRED) if (MPI_FOUND) @@ -29,10 +37,25 @@ endif(OpenMP_CXX_FOUND) -include_directories(SYSTEM ${MPI_INCLUDES_PATH}) -target_include_directories(MPI_bcast PUBLIC ${MPI_CXX_INCLUDE_DIRS}) -target_link_libraries(MPI_bcast PUBLIC ${MPI_CXX_LIBRARIES} ) +file(GLOB WFOPenMP_SRC + "*.h" + "*.c" +) + +foreach (myfile ${WFOPenMP_SRC}) + get_filename_component(myname ${myfile} NAME_WLE) + get_filename_component(dirname ${myfile} DIRECTORY) + message("${myname}.c | ${dir_src}") + add_executable(${myname} "${myname}.c") + #if(MPI_FOUND) + include_directories(SYSTEM ${MPI_INCLUDES_PATH}) + target_include_directories(${myname} PUBLIC ${MPI_CXX_INCLUDE_DIRS}) + target_link_libraries(${myname} PUBLIC ${MPI_CXX_LIBRARIES} ) + #endif() -# traget_link_libraries(A PUBLIC OpenMP::OpenMP_CXX) + #if(OpenMP_CXX_FOUND) + # target_link_libraries(${myname} PUBLIC OpenMP::OpenMP_CXX ${OpenCV_LIBS}) + #endif() +endforeach (file ${WFOPenMP_SRC}) ########### end #################################### diff --git a/src/MPI/MPI_1/MPI_iterFFTMPI.c b/src/MPI/MPI_1/MPI_iterFFTMPI.c1 similarity index 100% rename from src/MPI/MPI_1/MPI_iterFFTMPI.c rename to src/MPI/MPI_1/MPI_iterFFTMPI.c1 diff --git a/src/MPI/MPI_1/Nota.txt b/src/MPI/MPI_1/Nota.txt new file mode 100644 index 0000000..bcdc39f --- /dev/null +++ b/src/MPI/MPI_1/Nota.txt @@ -0,0 +1,2 @@ +Compilation OK ! :-) + diff --git a/src/MPI/MPI_2/CMakeLists.txt b/src/MPI/MPI_2/CMakeLists.txt new file mode 100644 index 0000000..42b5ab1 --- /dev/null +++ b/src/MPI/MPI_2/CMakeLists.txt @@ -0,0 +1,61 @@ + +#project(MPI_bcast) + +######## A simple cmakelists.txt file for ... ############# + +cmake_minimum_required(VERSION 3.17) +#set(CMAKE_CXX_STANDARD 14) +#set(CMAKE_BUILD_TYPE Debug) +set(CMAKE_BUILD_TYPE Release) +#set(CMAKE_CXX_COMPILER "/usr/local/bin/g++") + +#set(CMAKE_CXX_STANDARD 14) +#set(CMAKE_CXX_COMPILER "/usr/local/bin/g++") +#set(CMAKE_C_COMPILER "/usr/bin/clang-14") +#set(CMAKE_CXX_COMPILER "/usr/bin/clang++-14") +#set(CMAKE_CXX_COMPILER "/usr/bin/gcc") +#set(CMAKE_CXX_COMPILER "/usr/bin/g++-11") + + + + + +find_package(MPI REQUIRED) +if (MPI_FOUND) + MESSAGE("{MPI_CXX_LIBRARIES}") + else (MPI_FOUND) + MESSAGE (SEND_ERROR "This application cannot compile without MPI") +endif(MPI_FOUND) + + +find_package(OpenMP) +if (OpenMP_CXX_FOUND) + MESSAGE("{OpenMP_CXX_LIBRARIES}") + else (OpenMP_CXX_FOUND) + MESSAGE (SEND_ERROR "This application cannot compile without OpenMPI") +endif(OpenMP_CXX_FOUND) + + + +file(GLOB WFOPenMP_SRC + "*.h" + "*.c" +) + +foreach (myfile ${WFOPenMP_SRC}) + get_filename_component(myname ${myfile} NAME_WLE) + get_filename_component(dirname ${myfile} DIRECTORY) + message("${myname}.c | ${dir_src}") + add_executable(${myname} "${myname}.c") + #if(MPI_FOUND) + include_directories(SYSTEM ${MPI_INCLUDES_PATH}) + target_include_directories(${myname} PUBLIC ${MPI_CXX_INCLUDE_DIRS}) + target_link_libraries(${myname} PUBLIC ${MPI_CXX_LIBRARIES} ) + #endif() + + #if(OpenMP_CXX_FOUND) + # target_link_libraries(${myname} PUBLIC OpenMP::OpenMP_CXX ${OpenCV_LIBS}) + #endif() +endforeach (file ${WFOPenMP_SRC}) + +########### end #################################### diff --git a/src/MPI/MPI_2/MPI_Graph_create.c b/src/MPI/MPI_2/MPI_Graph_create.cb similarity index 100% rename from src/MPI/MPI_2/MPI_Graph_create.c rename to src/MPI/MPI_2/MPI_Graph_create.cb diff --git a/src/MPI/MPI_2/Nota.txt b/src/MPI/MPI_2/Nota.txt new file mode 100644 index 0000000..bcdc39f --- /dev/null +++ b/src/MPI/MPI_2/Nota.txt @@ -0,0 +1,2 @@ +Compilation OK ! :-) + diff --git a/src/OpenMP/CMakeLists.txt b/src/OpenMP/CMakeLists.txt index 9ea48e7..37f1d79 100644 --- a/src/OpenMP/CMakeLists.txt +++ b/src/OpenMP/CMakeLists.txt @@ -1,5 +1,7 @@ ######## A simple cmakelists.txt file for Open..() ############# + + cmake_minimum_required(VERSION 3.17) set(CMAKE_CXX_STANDARD 14) @@ -9,7 +11,7 @@ set(CMAKE_CXX_STANDARD 14) #set(CMAKE_CXX_COMPILER "/usr/bin/gcc") #set(CMAKE_CXX_COMPILER "/usr/bin/g++-11") -project( firstprivate ) +#project( firstprivate ) #find_package( OpenCV REQUIRED ) #include_directories( ${OpenCV_INCLUDE_DIRS} @@ -21,12 +23,25 @@ if (OPENMP_FOUND) set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}") set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${OpenMP_EXE_LINKER_FLAGS}") endif() + + +file(GLOB WFOPenMP_SRC + "*.hpp" + "*.cpp" ) -add_executable(firstprivate firstprivate.cpp ) +foreach (myfile ${WFOPenMP_SRC}) + get_filename_component(myname ${myfile} NAME_WLE) + get_filename_component(dirname ${myfile} DIRECTORY) + message("${myname}.cpp | ${dir_src}") + add_executable(${myname} "${myname}.cpp") + if(OpenMP_CXX_FOUND) + target_link_libraries(${myname} PUBLIC OpenMP::OpenMP_CXX ${OpenCV_LIBS}) + endif() +endforeach (file ${WFOPenMP_SRC}) + + + -if(OpenMP_CXX_FOUND) - target_link_libraries(firstprivate PUBLIC OpenMP::OpenMP_CXX ${OpenCV_LIBS}) -endif() ########### end #################################### \ No newline at end of file diff --git a/src/OpenMP/Makefile b/src/OpenMP/Makefile new file mode 100644 index 0000000..dc75e5f --- /dev/null +++ b/src/OpenMP/Makefile @@ -0,0 +1,714 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.22 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +# Allow only one "make -f Makefile2" at a time, but pass parallelism. +.NOTPARALLEL: + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Disable VCS-based implicit rules. +% : %,v + +# Disable VCS-based implicit rules. +% : RCS/% + +# Disable VCS-based implicit rules. +% : RCS/%,v + +# Disable VCS-based implicit rules. +% : SCCS/s.% + +# Disable VCS-based implicit rules. +% : s.% + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Command-line flag to silence nested $(MAKE). +$(VERBOSE)MAKESILENT = -s + +#Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /usr/bin/cmake + +# The command to remove a file. +RM = /usr/bin/cmake -E rm -f + +# Escaping for special characters. +EQUALS = = + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /home/u2/lemoine/ParallelProgrammingDevelopment/parallel-programming/src/OpenMP + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /home/u2/lemoine/ParallelProgrammingDevelopment/parallel-programming/src/OpenMP + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "No interactive CMake dialog available..." + /usr/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available. +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /usr/bin/cmake --regenerate-during-build -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + $(CMAKE_COMMAND) -E cmake_progress_start /home/u2/lemoine/ParallelProgrammingDevelopment/parallel-programming/src/OpenMP/CMakeFiles /home/u2/lemoine/ParallelProgrammingDevelopment/parallel-programming/src/OpenMP//CMakeFiles/progress.marks + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 all + $(CMAKE_COMMAND) -E cmake_progress_start /home/u2/lemoine/ParallelProgrammingDevelopment/parallel-programming/src/OpenMP/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +#============================================================================= +# Target rules for targets named Taskgroup + +# Build rule for target. +Taskgroup: cmake_check_build_system + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 Taskgroup +.PHONY : Taskgroup + +# fast build rule for target. +Taskgroup/fast: + $(MAKE) $(MAKESILENT) -f CMakeFiles/Taskgroup.dir/build.make CMakeFiles/Taskgroup.dir/build +.PHONY : Taskgroup/fast + +#============================================================================= +# Target rules for targets named firstprivate + +# Build rule for target. +firstprivate: cmake_check_build_system + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 firstprivate +.PHONY : firstprivate + +# fast build rule for target. +firstprivate/fast: + $(MAKE) $(MAKESILENT) -f CMakeFiles/firstprivate.dir/build.make CMakeFiles/firstprivate.dir/build +.PHONY : firstprivate/fast + +#============================================================================= +# Target rules for targets named in_reduction + +# Build rule for target. +in_reduction: cmake_check_build_system + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 in_reduction +.PHONY : in_reduction + +# fast build rule for target. +in_reduction/fast: + $(MAKE) $(MAKESILENT) -f CMakeFiles/in_reduction.dir/build.make CMakeFiles/in_reduction.dir/build +.PHONY : in_reduction/fast + +#============================================================================= +# Target rules for targets named lastprivate + +# Build rule for target. +lastprivate: cmake_check_build_system + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 lastprivate +.PHONY : lastprivate + +# fast build rule for target. +lastprivate/fast: + $(MAKE) $(MAKESILENT) -f CMakeFiles/lastprivate.dir/build.make CMakeFiles/lastprivate.dir/build +.PHONY : lastprivate/fast + +#============================================================================= +# Target rules for targets named linear + +# Build rule for target. +linear: cmake_check_build_system + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 linear +.PHONY : linear + +# fast build rule for target. +linear/fast: + $(MAKE) $(MAKESILENT) -f CMakeFiles/linear.dir/build.make CMakeFiles/linear.dir/build +.PHONY : linear/fast + +#============================================================================= +# Target rules for targets named main + +# Build rule for target. +main: cmake_check_build_system + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 main +.PHONY : main + +# fast build rule for target. +main/fast: + $(MAKE) $(MAKESILENT) -f CMakeFiles/main.dir/build.make CMakeFiles/main.dir/build +.PHONY : main/fast + +#============================================================================= +# Target rules for targets named none + +# Build rule for target. +none: cmake_check_build_system + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 none +.PHONY : none + +# fast build rule for target. +none/fast: + $(MAKE) $(MAKESILENT) -f CMakeFiles/none.dir/build.make CMakeFiles/none.dir/build +.PHONY : none/fast + +#============================================================================= +# Target rules for targets named private + +# Build rule for target. +private: cmake_check_build_system + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 private +.PHONY : private + +# fast build rule for target. +private/fast: + $(MAKE) $(MAKESILENT) -f CMakeFiles/private.dir/build.make CMakeFiles/private.dir/build +.PHONY : private/fast + +#============================================================================= +# Target rules for targets named reduction + +# Build rule for target. +reduction: cmake_check_build_system + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 reduction +.PHONY : reduction + +# fast build rule for target. +reduction/fast: + $(MAKE) $(MAKESILENT) -f CMakeFiles/reduction.dir/build.make CMakeFiles/reduction.dir/build +.PHONY : reduction/fast + +#============================================================================= +# Target rules for targets named schedule + +# Build rule for target. +schedule: cmake_check_build_system + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 schedule +.PHONY : schedule + +# fast build rule for target. +schedule/fast: + $(MAKE) $(MAKESILENT) -f CMakeFiles/schedule.dir/build.make CMakeFiles/schedule.dir/build +.PHONY : schedule/fast + +#============================================================================= +# Target rules for targets named shared + +# Build rule for target. +shared: cmake_check_build_system + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 shared +.PHONY : shared + +# fast build rule for target. +shared/fast: + $(MAKE) $(MAKESILENT) -f CMakeFiles/shared.dir/build.make CMakeFiles/shared.dir/build +.PHONY : shared/fast + +#============================================================================= +# Target rules for targets named task + +# Build rule for target. +task: cmake_check_build_system + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 task +.PHONY : task + +# fast build rule for target. +task/fast: + $(MAKE) $(MAKESILENT) -f CMakeFiles/task.dir/build.make CMakeFiles/task.dir/build +.PHONY : task/fast + +#============================================================================= +# Target rules for targets named task_reduction + +# Build rule for target. +task_reduction: cmake_check_build_system + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 task_reduction +.PHONY : task_reduction + +# fast build rule for target. +task_reduction/fast: + $(MAKE) $(MAKESILENT) -f CMakeFiles/task_reduction.dir/build.make CMakeFiles/task_reduction.dir/build +.PHONY : task_reduction/fast + +#============================================================================= +# Target rules for targets named taskwait + +# Build rule for target. +taskwait: cmake_check_build_system + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 taskwait +.PHONY : taskwait + +# fast build rule for target. +taskwait/fast: + $(MAKE) $(MAKESILENT) -f CMakeFiles/taskwait.dir/build.make CMakeFiles/taskwait.dir/build +.PHONY : taskwait/fast + +Taskgroup.o: Taskgroup.cpp.o +.PHONY : Taskgroup.o + +# target to build an object file +Taskgroup.cpp.o: + $(MAKE) $(MAKESILENT) -f CMakeFiles/Taskgroup.dir/build.make CMakeFiles/Taskgroup.dir/Taskgroup.cpp.o +.PHONY : Taskgroup.cpp.o + +Taskgroup.i: Taskgroup.cpp.i +.PHONY : Taskgroup.i + +# target to preprocess a source file +Taskgroup.cpp.i: + $(MAKE) $(MAKESILENT) -f CMakeFiles/Taskgroup.dir/build.make CMakeFiles/Taskgroup.dir/Taskgroup.cpp.i +.PHONY : Taskgroup.cpp.i + +Taskgroup.s: Taskgroup.cpp.s +.PHONY : Taskgroup.s + +# target to generate assembly for a file +Taskgroup.cpp.s: + $(MAKE) $(MAKESILENT) -f CMakeFiles/Taskgroup.dir/build.make CMakeFiles/Taskgroup.dir/Taskgroup.cpp.s +.PHONY : Taskgroup.cpp.s + +firstprivate.o: firstprivate.cpp.o +.PHONY : firstprivate.o + +# target to build an object file +firstprivate.cpp.o: + $(MAKE) $(MAKESILENT) -f CMakeFiles/firstprivate.dir/build.make CMakeFiles/firstprivate.dir/firstprivate.cpp.o +.PHONY : firstprivate.cpp.o + +firstprivate.i: firstprivate.cpp.i +.PHONY : firstprivate.i + +# target to preprocess a source file +firstprivate.cpp.i: + $(MAKE) $(MAKESILENT) -f CMakeFiles/firstprivate.dir/build.make CMakeFiles/firstprivate.dir/firstprivate.cpp.i +.PHONY : firstprivate.cpp.i + +firstprivate.s: firstprivate.cpp.s +.PHONY : firstprivate.s + +# target to generate assembly for a file +firstprivate.cpp.s: + $(MAKE) $(MAKESILENT) -f CMakeFiles/firstprivate.dir/build.make CMakeFiles/firstprivate.dir/firstprivate.cpp.s +.PHONY : firstprivate.cpp.s + +in_reduction.o: in_reduction.cpp.o +.PHONY : in_reduction.o + +# target to build an object file +in_reduction.cpp.o: + $(MAKE) $(MAKESILENT) -f CMakeFiles/in_reduction.dir/build.make CMakeFiles/in_reduction.dir/in_reduction.cpp.o +.PHONY : in_reduction.cpp.o + +in_reduction.i: in_reduction.cpp.i +.PHONY : in_reduction.i + +# target to preprocess a source file +in_reduction.cpp.i: + $(MAKE) $(MAKESILENT) -f CMakeFiles/in_reduction.dir/build.make CMakeFiles/in_reduction.dir/in_reduction.cpp.i +.PHONY : in_reduction.cpp.i + +in_reduction.s: in_reduction.cpp.s +.PHONY : in_reduction.s + +# target to generate assembly for a file +in_reduction.cpp.s: + $(MAKE) $(MAKESILENT) -f CMakeFiles/in_reduction.dir/build.make CMakeFiles/in_reduction.dir/in_reduction.cpp.s +.PHONY : in_reduction.cpp.s + +lastprivate.o: lastprivate.cpp.o +.PHONY : lastprivate.o + +# target to build an object file +lastprivate.cpp.o: + $(MAKE) $(MAKESILENT) -f CMakeFiles/lastprivate.dir/build.make CMakeFiles/lastprivate.dir/lastprivate.cpp.o +.PHONY : lastprivate.cpp.o + +lastprivate.i: lastprivate.cpp.i +.PHONY : lastprivate.i + +# target to preprocess a source file +lastprivate.cpp.i: + $(MAKE) $(MAKESILENT) -f CMakeFiles/lastprivate.dir/build.make CMakeFiles/lastprivate.dir/lastprivate.cpp.i +.PHONY : lastprivate.cpp.i + +lastprivate.s: lastprivate.cpp.s +.PHONY : lastprivate.s + +# target to generate assembly for a file +lastprivate.cpp.s: + $(MAKE) $(MAKESILENT) -f CMakeFiles/lastprivate.dir/build.make CMakeFiles/lastprivate.dir/lastprivate.cpp.s +.PHONY : lastprivate.cpp.s + +linear.o: linear.cpp.o +.PHONY : linear.o + +# target to build an object file +linear.cpp.o: + $(MAKE) $(MAKESILENT) -f CMakeFiles/linear.dir/build.make CMakeFiles/linear.dir/linear.cpp.o +.PHONY : linear.cpp.o + +linear.i: linear.cpp.i +.PHONY : linear.i + +# target to preprocess a source file +linear.cpp.i: + $(MAKE) $(MAKESILENT) -f CMakeFiles/linear.dir/build.make CMakeFiles/linear.dir/linear.cpp.i +.PHONY : linear.cpp.i + +linear.s: linear.cpp.s +.PHONY : linear.s + +# target to generate assembly for a file +linear.cpp.s: + $(MAKE) $(MAKESILENT) -f CMakeFiles/linear.dir/build.make CMakeFiles/linear.dir/linear.cpp.s +.PHONY : linear.cpp.s + +main.o: main.cpp.o +.PHONY : main.o + +# target to build an object file +main.cpp.o: + $(MAKE) $(MAKESILENT) -f CMakeFiles/main.dir/build.make CMakeFiles/main.dir/main.cpp.o +.PHONY : main.cpp.o + +main.i: main.cpp.i +.PHONY : main.i + +# target to preprocess a source file +main.cpp.i: + $(MAKE) $(MAKESILENT) -f CMakeFiles/main.dir/build.make CMakeFiles/main.dir/main.cpp.i +.PHONY : main.cpp.i + +main.s: main.cpp.s +.PHONY : main.s + +# target to generate assembly for a file +main.cpp.s: + $(MAKE) $(MAKESILENT) -f CMakeFiles/main.dir/build.make CMakeFiles/main.dir/main.cpp.s +.PHONY : main.cpp.s + +none.o: none.cpp.o +.PHONY : none.o + +# target to build an object file +none.cpp.o: + $(MAKE) $(MAKESILENT) -f CMakeFiles/none.dir/build.make CMakeFiles/none.dir/none.cpp.o +.PHONY : none.cpp.o + +none.i: none.cpp.i +.PHONY : none.i + +# target to preprocess a source file +none.cpp.i: + $(MAKE) $(MAKESILENT) -f CMakeFiles/none.dir/build.make CMakeFiles/none.dir/none.cpp.i +.PHONY : none.cpp.i + +none.s: none.cpp.s +.PHONY : none.s + +# target to generate assembly for a file +none.cpp.s: + $(MAKE) $(MAKESILENT) -f CMakeFiles/none.dir/build.make CMakeFiles/none.dir/none.cpp.s +.PHONY : none.cpp.s + +private.o: private.cpp.o +.PHONY : private.o + +# target to build an object file +private.cpp.o: + $(MAKE) $(MAKESILENT) -f CMakeFiles/private.dir/build.make CMakeFiles/private.dir/private.cpp.o +.PHONY : private.cpp.o + +private.i: private.cpp.i +.PHONY : private.i + +# target to preprocess a source file +private.cpp.i: + $(MAKE) $(MAKESILENT) -f CMakeFiles/private.dir/build.make CMakeFiles/private.dir/private.cpp.i +.PHONY : private.cpp.i + +private.s: private.cpp.s +.PHONY : private.s + +# target to generate assembly for a file +private.cpp.s: + $(MAKE) $(MAKESILENT) -f CMakeFiles/private.dir/build.make CMakeFiles/private.dir/private.cpp.s +.PHONY : private.cpp.s + +reduction.o: reduction.cpp.o +.PHONY : reduction.o + +# target to build an object file +reduction.cpp.o: + $(MAKE) $(MAKESILENT) -f CMakeFiles/reduction.dir/build.make CMakeFiles/reduction.dir/reduction.cpp.o +.PHONY : reduction.cpp.o + +reduction.i: reduction.cpp.i +.PHONY : reduction.i + +# target to preprocess a source file +reduction.cpp.i: + $(MAKE) $(MAKESILENT) -f CMakeFiles/reduction.dir/build.make CMakeFiles/reduction.dir/reduction.cpp.i +.PHONY : reduction.cpp.i + +reduction.s: reduction.cpp.s +.PHONY : reduction.s + +# target to generate assembly for a file +reduction.cpp.s: + $(MAKE) $(MAKESILENT) -f CMakeFiles/reduction.dir/build.make CMakeFiles/reduction.dir/reduction.cpp.s +.PHONY : reduction.cpp.s + +schedule.o: schedule.cpp.o +.PHONY : schedule.o + +# target to build an object file +schedule.cpp.o: + $(MAKE) $(MAKESILENT) -f CMakeFiles/schedule.dir/build.make CMakeFiles/schedule.dir/schedule.cpp.o +.PHONY : schedule.cpp.o + +schedule.i: schedule.cpp.i +.PHONY : schedule.i + +# target to preprocess a source file +schedule.cpp.i: + $(MAKE) $(MAKESILENT) -f CMakeFiles/schedule.dir/build.make CMakeFiles/schedule.dir/schedule.cpp.i +.PHONY : schedule.cpp.i + +schedule.s: schedule.cpp.s +.PHONY : schedule.s + +# target to generate assembly for a file +schedule.cpp.s: + $(MAKE) $(MAKESILENT) -f CMakeFiles/schedule.dir/build.make CMakeFiles/schedule.dir/schedule.cpp.s +.PHONY : schedule.cpp.s + +shared.o: shared.cpp.o +.PHONY : shared.o + +# target to build an object file +shared.cpp.o: + $(MAKE) $(MAKESILENT) -f CMakeFiles/shared.dir/build.make CMakeFiles/shared.dir/shared.cpp.o +.PHONY : shared.cpp.o + +shared.i: shared.cpp.i +.PHONY : shared.i + +# target to preprocess a source file +shared.cpp.i: + $(MAKE) $(MAKESILENT) -f CMakeFiles/shared.dir/build.make CMakeFiles/shared.dir/shared.cpp.i +.PHONY : shared.cpp.i + +shared.s: shared.cpp.s +.PHONY : shared.s + +# target to generate assembly for a file +shared.cpp.s: + $(MAKE) $(MAKESILENT) -f CMakeFiles/shared.dir/build.make CMakeFiles/shared.dir/shared.cpp.s +.PHONY : shared.cpp.s + +task.o: task.cpp.o +.PHONY : task.o + +# target to build an object file +task.cpp.o: + $(MAKE) $(MAKESILENT) -f CMakeFiles/task.dir/build.make CMakeFiles/task.dir/task.cpp.o +.PHONY : task.cpp.o + +task.i: task.cpp.i +.PHONY : task.i + +# target to preprocess a source file +task.cpp.i: + $(MAKE) $(MAKESILENT) -f CMakeFiles/task.dir/build.make CMakeFiles/task.dir/task.cpp.i +.PHONY : task.cpp.i + +task.s: task.cpp.s +.PHONY : task.s + +# target to generate assembly for a file +task.cpp.s: + $(MAKE) $(MAKESILENT) -f CMakeFiles/task.dir/build.make CMakeFiles/task.dir/task.cpp.s +.PHONY : task.cpp.s + +task_reduction.o: task_reduction.cpp.o +.PHONY : task_reduction.o + +# target to build an object file +task_reduction.cpp.o: + $(MAKE) $(MAKESILENT) -f CMakeFiles/task_reduction.dir/build.make CMakeFiles/task_reduction.dir/task_reduction.cpp.o +.PHONY : task_reduction.cpp.o + +task_reduction.i: task_reduction.cpp.i +.PHONY : task_reduction.i + +# target to preprocess a source file +task_reduction.cpp.i: + $(MAKE) $(MAKESILENT) -f CMakeFiles/task_reduction.dir/build.make CMakeFiles/task_reduction.dir/task_reduction.cpp.i +.PHONY : task_reduction.cpp.i + +task_reduction.s: task_reduction.cpp.s +.PHONY : task_reduction.s + +# target to generate assembly for a file +task_reduction.cpp.s: + $(MAKE) $(MAKESILENT) -f CMakeFiles/task_reduction.dir/build.make CMakeFiles/task_reduction.dir/task_reduction.cpp.s +.PHONY : task_reduction.cpp.s + +taskwait.o: taskwait.cpp.o +.PHONY : taskwait.o + +# target to build an object file +taskwait.cpp.o: + $(MAKE) $(MAKESILENT) -f CMakeFiles/taskwait.dir/build.make CMakeFiles/taskwait.dir/taskwait.cpp.o +.PHONY : taskwait.cpp.o + +taskwait.i: taskwait.cpp.i +.PHONY : taskwait.i + +# target to preprocess a source file +taskwait.cpp.i: + $(MAKE) $(MAKESILENT) -f CMakeFiles/taskwait.dir/build.make CMakeFiles/taskwait.dir/taskwait.cpp.i +.PHONY : taskwait.cpp.i + +taskwait.s: taskwait.cpp.s +.PHONY : taskwait.s + +# target to generate assembly for a file +taskwait.cpp.s: + $(MAKE) $(MAKESILENT) -f CMakeFiles/taskwait.dir/build.make CMakeFiles/taskwait.dir/taskwait.cpp.s +.PHONY : taskwait.cpp.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... rebuild_cache" + @echo "... Taskgroup" + @echo "... firstprivate" + @echo "... in_reduction" + @echo "... lastprivate" + @echo "... linear" + @echo "... main" + @echo "... none" + @echo "... private" + @echo "... reduction" + @echo "... schedule" + @echo "... shared" + @echo "... task" + @echo "... task_reduction" + @echo "... taskwait" + @echo "... Taskgroup.o" + @echo "... Taskgroup.i" + @echo "... Taskgroup.s" + @echo "... firstprivate.o" + @echo "... firstprivate.i" + @echo "... firstprivate.s" + @echo "... in_reduction.o" + @echo "... in_reduction.i" + @echo "... in_reduction.s" + @echo "... lastprivate.o" + @echo "... lastprivate.i" + @echo "... lastprivate.s" + @echo "... linear.o" + @echo "... linear.i" + @echo "... linear.s" + @echo "... main.o" + @echo "... main.i" + @echo "... main.s" + @echo "... none.o" + @echo "... none.i" + @echo "... none.s" + @echo "... private.o" + @echo "... private.i" + @echo "... private.s" + @echo "... reduction.o" + @echo "... reduction.i" + @echo "... reduction.s" + @echo "... schedule.o" + @echo "... schedule.i" + @echo "... schedule.s" + @echo "... shared.o" + @echo "... shared.i" + @echo "... shared.s" + @echo "... task.o" + @echo "... task.i" + @echo "... task.s" + @echo "... task_reduction.o" + @echo "... task_reduction.i" + @echo "... task_reduction.s" + @echo "... taskwait.o" + @echo "... taskwait.i" + @echo "... taskwait.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/OpenMP/Nota.txt b/src/OpenMP/Nota.txt new file mode 100644 index 0000000..bcdc39f --- /dev/null +++ b/src/OpenMP/Nota.txt @@ -0,0 +1,2 @@ +Compilation OK ! :-) + diff --git a/src/OpenMP/firstprivate b/src/OpenMP/firstprivate deleted file mode 100755 index 6fdf508..0000000 --- a/src/OpenMP/firstprivate +++ /dev/null @@ -1,62 +0,0 @@ -[Project] -FileName=firstprivate -Name=ProjectALL -Type=1 -Ver=2 -ObjFiles= -Includes= -Libs= -PrivateResource= -ResourceIncludes= -MakeIncludes= -Compiler=-fopenmp -CppCompiler=-fopenmp -Linker=-lgomp -IsCpp=1 -Icon= -ExeOutput= -ObjectOutput= -LogOutput= -LogOutputEnabled=0 -OverrideOutput=0 -OverrideOutputName= -HostApplication= -UseCustomMakefile=0 -CustomMakefile= -CommandLine= -Folders= -IncludeVersionInfo=0 -SupportXPThemes=0 -CompilerSet=0 -CompilerSettings=0000000000000000000000000 -UnitCount=1 - -[VersionInfo] -Major=1 -Minor=0 -Release=0 -Build=0 -LanguageID=1033 -CharsetID=1252 -CompanyName= -FileVersion= -FileDescription=Developed using the Dev-C++ IDE -InternalName= -LegalCopyright= -LegalTrademarks= -OriginalFilename= -ProductName= -ProductVersion= -AutoIncBuildNr=0 -SyncProduct=1 - -[Unit1] -FileName=main.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - diff --git a/src/OpenMP/main b/src/OpenMP/main deleted file mode 100755 index 13472cb..0000000 --- a/src/OpenMP/main +++ /dev/null @@ -1,62 +0,0 @@ -[Project] -FileName=main -Name=ProjectALL -Type=1 -Ver=2 -ObjFiles= -Includes= -Libs= -PrivateResource= -ResourceIncludes= -MakeIncludes= -Compiler=-fopenmp -CppCompiler=-fopenmp -Linker=-lgomp -IsCpp=1 -Icon= -ExeOutput= -ObjectOutput= -LogOutput= -LogOutputEnabled=0 -OverrideOutput=0 -OverrideOutputName= -HostApplication= -UseCustomMakefile=0 -CustomMakefile= -CommandLine= -Folders= -IncludeVersionInfo=0 -SupportXPThemes=0 -CompilerSet=0 -CompilerSettings=0000000000000000000000000 -UnitCount=1 - -[VersionInfo] -Major=1 -Minor=0 -Release=0 -Build=0 -LanguageID=1033 -CharsetID=1252 -CompanyName= -FileVersion= -FileDescription=Developed using the Dev-C++ IDE -InternalName= -LegalCopyright= -LegalTrademarks= -OriginalFilename= -ProductName= -ProductVersion= -AutoIncBuildNr=0 -SyncProduct=1 - -[Unit1] -FileName=main.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= -