diff --git a/paddle/fluid/train/custom_trainer/feed/scripts/compake_runable_package.sh b/paddle/fluid/train/custom_trainer/feed/scripts/compake_runable_package.sh index d7c746fcbfabb11aa74737a65fa4308905b48ecb..0fa9d8a4121aecb4fe27e1b54bf320adc48d0f05 100755 --- a/paddle/fluid/train/custom_trainer/feed/scripts/compake_runable_package.sh +++ b/paddle/fluid/train/custom_trainer/feed/scripts/compake_runable_package.sh @@ -39,6 +39,6 @@ done #输出package包 rm -rf package -mkdir package +mkdir -p package/log cp -r bin conf tool scripts model so package cp -r ${TRAINER_HODOOP_HOME} package/hadoop-client diff --git a/paddle/fluid/train/custom_trainer/feed/scripts/start_feed_trainer.sh b/paddle/fluid/train/custom_trainer/feed/scripts/start_feed_trainer.sh index a00f6a9faf5a4b4e4e5cbc661aa66983adfa1fec..d31f61e92ca74b3b4946d1bb0443813b451bad7e 100755 --- a/paddle/fluid/train/custom_trainer/feed/scripts/start_feed_trainer.sh +++ b/paddle/fluid/train/custom_trainer/feed/scripts/start_feed_trainer.sh @@ -20,7 +20,6 @@ export PATH=/usr/local/openmpi/bin:$PATH export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/openmpi/lib/ if [ "${run_mode}" = "mpi" ];then mpirun mv package/* . - mpirun mkdir -p log export HADOOP_HOME="./hadoop-client/hadoop" export PATH=$HADOOP_HOME/bin/:./bin:$PATH export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:./so