Commit 24680000 authored by Vlad Golubev's avatar Vlad Golubev

Внес изменения для поддержки удаленного запуска решателей

parent 8ad596ce
# ignore custom config file # ignore custom config file
config_research.json config_research.json
*.pyc
.idea/
...@@ -8,7 +8,7 @@ import json ...@@ -8,7 +8,7 @@ import json
from stat import S_ISDIR from stat import S_ISDIR
from abc import ABCMeta, abstractmethod from abc import ABCMeta, abstractmethod
from comsdk.comaux import load_function_from_module from pycomsdk.comsdk.comaux import load_function_from_module
class Host(object): class Host(object):
''' '''
......
import comsdk.comaux as aux import pycomsdk.comsdk.comaux as aux
from comsdk.communication import CommunicationError from pycomsdk.comsdk.communication import CommunicationError
from comsdk.graph import Func from pycomsdk.comsdk.graph import Func
from mako.template import Template from mako.template import Template
import os import os
......
...@@ -5,7 +5,7 @@ from functools import partial ...@@ -5,7 +5,7 @@ from functools import partial
import importlib as imp import importlib as imp
import comsdk.comaux as aux import pycomsdk.comsdk.comaux as aux
ImplicitParallelizationInfo = collections.namedtuple('ImplicitParallelizationInfo', ['array_keys_mapping', 'branches_number', 'branch_i']) ImplicitParallelizationInfo = collections.namedtuple('ImplicitParallelizationInfo', ['array_keys_mapping', 'branches_number', 'branch_i'])
......
This diff is collapsed.
g++ -c -fPIC ./dev/core/anymap.cpp -o anymap.o -I./dev; g++ -c -fPIC ./dev/core/anymap.cpp -o anymap.o -I./dev;
g++ -c -fPIC tests.cpp -o tests.o -I./dev; #g++ -c -fPIC tests.cpp -o tests.o -I./dev;
# g++ -c -fPIC ./dev/iniparser/iniparser.cpp -o iniparser.o -I./dev; # g++ -c -fPIC ./dev/iniparser/iniparser.cpp -o iniparser.o -I./dev;
g++ tests.o anymap.o -shared -o libtest.so; rm tests.o anymap.o; #g++ tests.o anymap.o -shared -o libtest.so; rm tests.o anymap.o;
if g++ $1 -o graph.out -I./dev ./dev/core/anymap.cpp -ldl; then cd rls/;
if g++ $1 -o graph.out -I../dev ../dev/core/anymap.cpp -ldl; then
./graph.out; ./graph.out;
else else
echo "Not Compiled!"; echo "Not Compiled!";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment