Re: [Yade-users] [Question #624246]: Call yade-2017.01a after compilation

2017-04-20 Thread Mike
Question #624246 on Yade changed:
https://answers.launchpad.net/yade/+question/624246

Mike posted a new comment:
Thank you, Jan

I read [1] too :). I should close this topic then move into a new one.

Once again, thank you for your very kind help.

Regards,
Mike

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #624246]: Call yade-2017.01a after compilation

2017-04-20 Thread Jan Stránský
Question #624246 on Yade changed:
https://answers.launchpad.net/yade/+question/624246

Jan Stránský posted a new comment:
Hi Mike,
have a look at [1]. If the question is closed and your new question is not 
related to the original topic, please open a new question.
cheers
Jan

[1] https://yade-dem.org/wiki/Howtoask

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #624246]: Call yade-2017.01a after compilation

2017-04-20 Thread Mike
Question #624246 on Yade changed:
https://answers.launchpad.net/yade/+question/624246

Mike posted a new comment:
Thank you Jan, now I have a better understanding about the problem.

btw, Is that convenient to ask more questions about debuging YADE here
or  should I create a new topic? Sorry to ask too many questions at that
time since I need to move on the next milestone in my PhD (from using
existing constitutive model in YADE into implementing a new one).

regards,
Mike

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #624246]: Call yade-2017.01a after compilation

2017-04-20 Thread Jan Stránský
Question #624246 on Yade changed:
https://answers.launchpad.net/yade/+question/624246

Jan Stránský posted a new comment:
by "native" I mean the version installed by 'sudo apt-get isntall yade'
you don't need to do anything more
the native version provides  command 'yade' , which (on Ubuntu 16.04) outputs:
Welcome to Yade 1.20.0
...

after your installation from source (and export PATH in bashrc or alias as 
below), you shuold have 'yade-2017.01a' command, which outputs:
Welcome to Yade 2017.01a
...

These commands should work as they are (just typing yade + Enter or
yade-2017.01a + Enter, without need to 'cd something' or './yade...'
tricks)

Concerning the solution by Huihuang Xia, actually it is equally good as
I think about it once again, just instead of 'alias yade=...' you write
'alias yade-2017.01a=...' to distinguish different versions

cheers
Jan

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #624246]: Call yade-2017.01a after compilation

2017-04-20 Thread Mike
Question #624246 on Yade changed:
https://answers.launchpad.net/yade/+question/624246

Mike posted a new comment:
Hi Jan,

I did not install native Ubuntu Yade. Do I need to change anything?
I check my computer and it works well with YADE version compiling from source 
code. now I move into the debug version because i need to implement my new 
constitutive model for concrete.

thank in advance!
Mike

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #624246]: Call yade-2017.01a after compilation

2017-04-20 Thread Jan Stránský
Question #624246 on Yade changed:
https://answers.launchpad.net/yade/+question/624246

Jan Stránský posted a new comment:
Hello,

> alias yade='python SHOME/myYade/install/bin/yade-2017.01a

this solution works, but e.g. if you install native Ubuntu Yade (sudo
apt-get install yade), its name is 'yade' by default, but the name
points to yade-2017.01a...

I would prefer exporting PATH to contain yade-2017.01a executable (again in 
~/.bashrc file):
export PATH=$HOME/myYade/install/bin:$PATH

cheers
Jan

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #624246]: Call yade-2017.01a after compilation

2017-04-20 Thread Mike
Question #624246 on Yade changed:
https://answers.launchpad.net/yade/+question/624246

Mike posted a new comment:
the problem has been solved

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #624246]: Call yade-2017.01a after compilation

2017-04-20 Thread Mike
Question #624246 on Yade changed:
https://answers.launchpad.net/yade/+question/624246

Mike posted a new comment:
Thank you, Xia :)

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #624246]: Call yade-2017.01a after compilation

2017-04-20 Thread Huihuang Xia
Question #624246 on Yade changed:
https://answers.launchpad.net/yade/+question/624246

Huihuang Xia posted a new comment:
Hi Mike,

Please open this file folder, myYade/install/bin, in 'bin', can you see a file 
named 'yade-2017.01a'? If yes, please move to the next step:
2. open a new teminal, and input ' gedit  ~/.bashrc' ( there is a blank between 
t and ~).
3. Copy this line 'alias yade='python SHOME/myYade/install/bin/yade-2017.01a' 
and place it at the bottom of bashrc, save and exit it.

Huihuang Xia

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #624246]: Call yade-2017.01a after compilation

2017-04-20 Thread Mike
Question #624246 on Yade changed:
https://answers.launchpad.net/yade/+question/624246

Status: Open => Solved

Mike confirmed that the question is solved:
oh, i realized my mistake: I should type ./yade-2017.01a
thanks

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #624246]: Call yade-2017.01a after compilation

2017-04-20 Thread Mike
Question #624246 on Yade changed:
https://answers.launchpad.net/yade/+question/624246

Mike posted a new comment:
here is the install after  I use: make install

make install
[  0%] Automatic moc for target boot
[  0%] Built target boot_automoc
[  1%] Automatic moc for target yade
[  1%] Built target yade_automoc
[  1%] Automatic moc for target _GLViewer
[  1%] Built target _GLViewer_automoc
[  5%] Built target _GLViewer
[ 83%] Built target yade
[ 85%] Built target boot
[ 85%] Automatic moc for target _polyhedra_utils
[ 85%] Built target _polyhedra_utils_automoc
[ 87%] Built target _polyhedra_utils
[ 87%] Automatic moc for target _packSpheres
[ 87%] Built target _packSpheres_automoc
[ 89%] Built target _packSpheres
[ 89%] Automatic moc for target _packPredicates
[ 89%] Built target _packPredicates_automoc
[ 91%] Built target _packPredicates
[ 91%] Automatic moc for target wrapper
[ 91%] Built target wrapper_automoc
[ 93%] Built target wrapper
[ 93%] Automatic moc for target _packObb
[ 93%] Built target _packObb_automoc
[ 95%] Built target _packObb
[ 95%] Automatic moc for target WeightedAverage2d
[ 95%] Built target WeightedAverage2d_automoc
[ 96%] Built target WeightedAverage2d
[ 96%] Automatic moc for target _utils
[ 96%] Built target _utils_automoc
[ 98%] Built target _utils
[ 98%] Automatic moc for target _customConverters
[ 98%] Built target _customConverters_automoc
[100%] Built target _customConverters
Install the project...
-- Install configuration: ""
-- Installing: /home/thangnguyen/myYade/install/bin/yade-2017.01a-batch
-- Installing: /home/thangnguyen/myYade/install/bin/yade-2017.01a
-- Installing: 
/home/thangnguyen/myYade/install/lib/x86_64-linux-gnu/yade-2017.01a/py/yade/config.py
-- Installing: 
/home/thangnguyen/myYade/install/lib/x86_64-linux-gnu/yade-2017.01a/py/yade/__init__.py
-- Installing: 
/home/thangnguyen/myYade/install/lib/x86_64-linux-gnu/yade-2017.01a/py/yade/tests/checks/checkList.py
-- Installing: 
/home/thangnguyen/myYade/install/lib/x86_64-linux-gnu/yade-2017.01a/py/yade/tests/checks/checkSaveLoadClumps.py
-- Installing: 
/home/thangnguyen/myYade/install/lib/x86_64-linux-gnu/yade-2017.01a/py/yade/tests/checks/checkViscElPM.py
-- Installing: 
/home/thangnguyen/myYade/install/lib/x86_64-linux-gnu/yade-2017.01a/py/yade/tests/checks/checkViscElPM2.py
-- Installing: 
/home/thangnguyen/myYade/install/lib/x86_64-linux-gnu/yade-2017.01a/py/yade/tests/checks/checkWeight.py
-- Installing: 
/home/thangnguyen/myYade/install/lib/x86_64-linux-gnu/yade-2017.01a/py/yade/tests/checks/checkWirePM.py
-- Installing: 
/home/thangnguyen/myYade/install/lib/x86_64-linux-gnu/yade-2017.01a/py/yade/tests/checks/checkClumpHopper.py
-- Installing: 
/home/thangnguyen/myYade/install/lib/x86_64-linux-gnu/yade-2017.01a/py/yade/tests/checks/checkPolyhedraCrush.py
-- Installing: 
/home/thangnguyen/myYade/install/lib/x86_64-linux-gnu/yade-2017.01a/py/yade/tests/checks/checkCapillaryModels.py
-- Installing: 
/home/thangnguyen/myYade/install/lib/x86_64-linux-gnu/yade-2017.01a/py/yade/tests/checks/checkTestTriax.py
-- Installing: 
/home/thangnguyen/myYade/install/lib/x86_64-linux-gnu/yade-2017.01a/py/yade/tests/checks/checkViscElEng.py
-- Installing: 
/home/thangnguyen/myYade/install/lib/x86_64-linux-gnu/yade-2017.01a/py/yade/tests/checks/checkGravity.py
-- Installing: 
/home/thangnguyen/myYade/install/lib/x86_64-linux-gnu/yade-2017.01a/py/yade/tests/checks/checkTestNormalInelasticity.py
-- Installing: 
/home/thangnguyen/myYade/install/lib/x86_64-linux-gnu/yade-2017.01a/py/yade/tests/checks/checkLiquidMigration.py
-- Installing: 
/home/thangnguyen/myYade/install/lib/x86_64-linux-gnu/yade-2017.01a/py/yade/tests/checks/checkTestDummy.py
-- Installing: 
/home/thangnguyen/myYade/install/lib/x86_64-linux-gnu/yade-2017.01a/py/yade/tests/checks/DEM-PFV-check.py
-- Installing: 
/home/thangnguyen/myYade/install/lib/x86_64-linux-gnu/yade-2017.01a/py/yade/tests/checks/data/WallStressesCheckTest
-- Installing: 
/home/thangnguyen/myYade/install/lib/x86_64-linux-gnu/yade-2017.01a/py/yade/tests/checks/data/100spheres
-- Installing: 
/home/thangnguyen/myYade/install/lib/x86_64-linux-gnu/yade-2017.01a/py/yade/tests/checks/data/checkTestTriax.spheres
-- Installing: 
/home/thangnguyen/myYade/install/share/doc/yade-2017.01a/img/yade-logo-note.png
-- Installing: 
/home/thangnguyen/myYade/install/lib/x86_64-linux-gnu/yade-2017.01a/py/yade/boot.so
-- Set runtime path of 
"/home/thangnguyen/myYade/install/lib/x86_64-linux-gnu/yade-2017.01a/py/yade/boot.so"
 to 
"/home/thangnguyen/myYade/install/lib/x86_64-linux-gnu/yade-2017.01a:/home/thangnguyen/myYade/install/lib/x86_64-linux-gnu/yade-2017.01a/py:/home/thangnguyen/myYade/install/lib/x86_64-linux-gnu/yade-2017.01a/py/yade/:/home/thangnguyen/myYade/install/lib/x86_64-linux-gnu/yade-2017.01a/py/yade/qt:/home/thangnguyen/myYade/install/lib/x86_64-linux-gnu/yade-2017.01a/py/gts"
-- Installing: 
/home/thangnguyen/myYade/install/lib/x86_64-linux-gnu/yade-2017.01a/libyade.so
-- Set runtime 

Re: [Yade-users] [Question #624246]: Call yade-2017.01a after compilation

2017-04-20 Thread Mike
Question #624246 on Yade changed:
https://answers.launchpad.net/yade/+question/624246

Description changed to:
Hi Yade users,

I installed YADE from source code (yade-2017.01a.tar.gz  at
https://launchpad.net/yade/+download) . After successfully compiling and
installing I followed the instruction: After the compilation finished
successfully, the new built can be started by navigating to
/path/to/installfolder/bin and calling yade (based on version
yade-2014-02-20.git-a7048f4):

So i typed: cd //bin/yade-2017.01a in terminal but it did not work.

Could you pls help solving my problem or did i type a wrong version of
yade?

Thank you so much!
Mike

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp