Commit 6dfbae58 authored by FENG CHANG's avatar FENG CHANG
Browse files

Changed the username

parent ada8b83b
...@@ -15,7 +15,7 @@ do ...@@ -15,7 +15,7 @@ do
done done
#set the top for spyglass. must be the first argument of the script. #set the top for spyglass. must be the first argument of the script.
echo "set_option top $N" >> /tmp/optionsspy echo "set_option top $N" >> /tmp/optionsspy
cp /home/develop/template_spyglass.prj /tmp/$N/$N.prj; cp /home/bscuser/develop/template_spyglass.prj /tmp/$N/$N.prj;
cd /tmp/$N; cd /tmp/$N;
sed -i '/Data Import Section/ r /tmp/importspy' ./$N.prj; sed -i '/Data Import Section/ r /tmp/importspy' ./$N.prj;
sed -i '/Common Options Section/ r /tmp/optionsspy' ./$N.prj; sed -i '/Common Options Section/ r /tmp/optionsspy' ./$N.prj;
......
...@@ -7,29 +7,29 @@ EX="${FN#*.}" ...@@ -7,29 +7,29 @@ EX="${FN#*.}"
#echo $N #echo $N
#echo $EX #echo $EX
#cleanup in local and remote machines #cleanup in local and remote machines
rm -rf /tmp/importspy rm -rf /home/bscuser/tmp/importspy
rm -rf /tmp/optionsspy rm -rf /home/bscuser/tmp/optionsspy
ssh gcabo@epi03.bsc.es << EOF ssh fchang@epi03.bsc.es << EOF
rm -rf /tmp/$N rm -rf /tmp/fchang/$N
#make destination folder #make destination folder
mkdir /tmp/$N mkdir /tmp/fchang/$N
exit exit
EOF EOF
#copy files and set script #copy files and set script
for var in "$@" for var in "$@"
do do
echo "read_file {./"$(basename -- $var)"}" >> /tmp/importspy echo "read_file {./"$(basename -- $var)"}" >> /home/bscuser/tmp/importspy
scp $var gcabo@epi03.bsc.es:/tmp/$N scp $var fchang@epi03.bsc.es:/tmp/fchang/$N
done done
#set the top for spyglass. must be the first argument of the script. #set the top for spyglass. must be the first argument of the script.
echo "set_option top $N" >> /tmp/optionsspy echo "set_option top $N" >> /home/bscuser/tmp/optionsspy
scp /tmp/importspy gcabo@epi03.bsc.es:/tmp scp /home/bscuser/tmp/importspy fchang@epi03.bsc.es:/tmp/fchang
scp /tmp/optionsspy gcabo@epi03.bsc.es:/tmp scp /home/bscuser/tmp/optionsspy fchang@epi03.bsc.es:/tmp/fchang
ssh gcabo@epi03.bsc.es << EOF ssh fchang@epi03.bsc.es << EOF
cp /users/gcabo/spyglass_template/template_spyglass.prj /tmp/$N/$N.prj; cp /users/fchang/spyglass_template/template_spyglass.prj /tmp/fchang/$N/$N.prj;
cd /tmp/$N; cd /tmp/fchang/$N;
sed -i '/Data Import Section/ r /tmp/importspy' ./$N.prj; sed -i '/Data Import Section/ r /tmp/fchang/importspy' ./$N.prj;
sed -i '/Common Options Section/ r /tmp/optionsspy' ./$N.prj; sed -i '/Common Options Section/ r /tmp/fchang/optionsspy' ./$N.prj;
export SKIP_PLATFORM_CHECK=TRUE export SKIP_PLATFORM_CHECK=TRUE
. /eda/env.sh . /eda/env.sh
#echo -e "exports\n"; #echo -e "exports\n";
...@@ -38,6 +38,6 @@ echo -e "run_goal lint/lint_rtl\nexit -save\n"| spyglass_main -shell -project $N ...@@ -38,6 +38,6 @@ echo -e "run_goal lint/lint_rtl\nexit -save\n"| spyglass_main -shell -project $N
exit exit
EOF EOF
echo -e "exit" echo -e "exit"
scp -r gcabo@epi03.bsc.es:/tmp/$N/$N ./ scp -r fchang@epi03.bsc.es:/tmp/fchang/$N/$N ./
echo -e "copy resuts" echo -e "copy resuts"
#vim ./$N/consolidated_reports/lint_lint_rtl/moresimple.rpt #vim ./$N/consolidated_reports/lint_lint_rtl/moresimple.rpt
Supports Markdown
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