Lesson Meta-models deleted (There was nothing inside)
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1429 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
483bbf8f3e
commit
83516064e0
5 changed files with 0 additions and 137 deletions
|
|
@ -1,85 +0,0 @@
|
|||
|
||||
######################################################################################
|
||||
### 0) Set the compiler and define targets to easily run the lessons
|
||||
######################################################################################
|
||||
|
||||
SET (CMAKE_CXX_COMPILER mpicxx)
|
||||
|
||||
#ADD_CUSTOM_TARGET(install DEPENDS ${ParadisEO-PEO_SOURCE_DIR}/tutorial/Meta-models/param ${ParadisEO-PEO_SOURCE_DIR}/tutorial/Meta-models/schema.xml)
|
||||
|
||||
#ADD_CUSTOM_COMMAND(
|
||||
# TARGET install
|
||||
# POST_BUILD
|
||||
# COMMAND ${CMAKE_COMMAND}
|
||||
# ARGS -E copy_if_different
|
||||
# ${ParadisEO-PEO_SOURCE_DIR}/tutorial/Meta-models/param
|
||||
# ${ParadisEO-PEO_BINARY_DIR}/tutorial/Meta-models)
|
||||
#ADD_CUSTOM_COMMAND(
|
||||
# TARGET install
|
||||
# POST_BUILD
|
||||
# COMMAND ${CMAKE_COMMAND}
|
||||
# ARGS -E copy_if_different
|
||||
# ${ParadisEO-PEO_SOURCE_DIR}/tutorial/Meta-models/schema.xml
|
||||
# ${ParadisEO-PEO_BINARY_DIR}/tutorial/Meta-models)
|
||||
|
||||
EXECUTE_PROCESS(
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_if_different
|
||||
${ParadisEO-PEO_SOURCE_DIR}/tutorial/Meta-models/param
|
||||
${ParadisEO-PEO_BINARY_DIR}/tutorial/Meta-models
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_if_different
|
||||
${ParadisEO-PEO_SOURCE_DIR}/tutorial/Meta-models/schema.xml
|
||||
${ParadisEO-PEO_BINARY_DIR}/tutorial/Meta-models
|
||||
)
|
||||
|
||||
######################################################################################
|
||||
|
||||
|
||||
######################################################################################
|
||||
### 1) Include the sources
|
||||
######################################################################################
|
||||
|
||||
INCLUDE_DIRECTORIES(${EO_SRC_DIR}/src ${MOEO_SRC_DIR}/src ${MO_SRC_DIR}/src ${ParadisEO-PEO_SOURCE_DIR}/src ${TSP_SRC_DIR})
|
||||
|
||||
######################################################################################
|
||||
|
||||
|
||||
######################################################################################
|
||||
### 2) Specify where CMake can find the libraries
|
||||
######################################################################################
|
||||
|
||||
LINK_DIRECTORIES(${EO_BIN_DIR}/lib ${ParadisEO-PEO_BINARY_DIR}/lib ${TSP_BINARY_DIR}/lib)
|
||||
|
||||
######################################################################################
|
||||
|
||||
|
||||
######################################################################################
|
||||
### 3) Define the targets
|
||||
######################################################################################
|
||||
|
||||
ADD_EXECUTABLE(multistart multistart.cpp)
|
||||
ADD_DEPENDENCIES(multistart peo rmc_mpi)
|
||||
|
||||
ADD_EXECUTABLE(coop cooperation.cpp)
|
||||
ADD_DEPENDENCIES(coop peo rmc_mpi)
|
||||
######################################################################################
|
||||
|
||||
|
||||
######################################################################################
|
||||
### 4) Optionnal: define properties
|
||||
######################################################################################
|
||||
|
||||
SET(Meta-models_VERSION ${GLOBAL_VERSION})
|
||||
SET_TARGET_PROPERTIES(multistart PROPERTIES VERSION "${Meta-models_VERSION}")
|
||||
SET_TARGET_PROPERTIES(coop PROPERTIES VERSION "${Meta-models_VERSION}")
|
||||
######################################################################################
|
||||
|
||||
|
||||
######################################################################################
|
||||
### 5) Link the librairies
|
||||
######################################################################################
|
||||
|
||||
TARGET_LINK_LIBRARIES(multistart ${XML2_LIBS} tsp peo rmc_mpi eo eoutils peo)
|
||||
TARGET_LINK_LIBRARIES(coop ${XML2_LIBS} tsp peo rmc_mpi eo eoutils peo)
|
||||
|
||||
######################################################################################
|
||||
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
#include <iostream>
|
||||
#include <cstdlib>
|
||||
|
||||
int
|
||||
main(int __argc, char *__argv[])
|
||||
{
|
||||
std::cout << "Nothing to do" << std::endl;
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
#include <iostream>
|
||||
#include <cstdlib>
|
||||
|
||||
int
|
||||
main(int __argc, char *__argv[])
|
||||
{
|
||||
std::cout << "Nothing to do" << std::endl;
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
###### Param ######
|
||||
--maxGen=1
|
||||
--select=0.8
|
||||
|
||||
## miscallenous parameters
|
||||
|
||||
--debug=false
|
||||
|
||||
## deployment schema
|
||||
|
||||
--schema=schema.xml
|
||||
|
||||
## parameters
|
||||
|
||||
--inst=../examples/tsp/benchs/eil101.tsp
|
||||
|
|
@ -1,19 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<schema>
|
||||
<group scheduler="0">
|
||||
<node name="0" num_workers="0">
|
||||
</node>
|
||||
<node name="1" num_workers="0">
|
||||
<runner>1</runner>
|
||||
</node>
|
||||
<node name="2" num_workers="1">
|
||||
<runner>2</runner>
|
||||
</node>
|
||||
<node name="3" num_workers="1">
|
||||
<runner>3</runner>
|
||||
</node>
|
||||
|
||||
</group>
|
||||
</schema>
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue