Re: [Yade-users] [Question #679544]: Best way to fix typos in documentation: source edit + git push?

2019-04-29 Thread Gael Lorieul
Hi Bruno,

Bruno Chareyre Mon, 29 Apr 2019 21:53:51 +0200
 > Give me your gitlab.com name. :)

That would be `GLorieul`

Gaël
___
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 #679544]: Best way to fix typos in documentation: source edit + git push?

2019-04-29 Thread Bruno Chareyre
Give me your gitlab.com name. :)
Bruno

Le lun. 29 avr. 2019 16:08, Gael Lorieul  a
écrit :

> Hi Bruno (and the team),
>
> El 26-04-19 a las 10:03, Bruno Chareyre escribió:
> > Yes you can write emails to yade-dev.
>
> Ok, I'll do that next time ;)
> But I'll finish the present conversation in yade-users to keep it simple
> (and avoid possibly a mess).
>
> > It would be very helpful if you could try method [1] (gitlab),
> especially if you plan to change more later,  and it should not be a big
> deal.
> > Assuming you are working on source code pulled from the gitlab
> repository (else send use the result of "git remote -v"):
> >
> > cd trunk
> > git status #list which files you have modified
> > git commit file1 file2 file3 #the files you changed
> > git pull --rebase
> > git push origin master:fixtypo
>
> I tried that last Friday and got: (same thing today…)
>
>  > GitLab: You are not allowed to push code to this project.
>  fatal: Could not read from remote repository.
>
>  Please make sure you have the correct access rights and the
> repository exists.
>
> Some info about my `origin` repository i.e. `git remote show origin`
>
>  remote origin
>  Fetch URL: g...@gitlab.com:yade-dev/trunk.git
>  Push URL: g...@gitlab.com:yade-dev/trunk.git
>  Branch HEAD: master
>  Remote branch:
>  master  tracked
>
> I am using SSH authentication, and the gitlab server has the
> corresponding public key (I checked which key I am using with `ssh -vT
> g...@gitlab.com`).
>
> Https authentication also fails (and I checked the credentials I use):
>
>  Username for 'https://gitlab.com': g* dot l* at coandev dot com
>  Password for 'https://*@gitlab.com':
>  remote: You are not allowed to push code to this project.
>
> Although I cannot push, I can pull i.e. `git pull --rebase` succeeds.
>
> In the GitLab web interface I can see that I am *not* a member of the
> `yade-dev/trunk` project (my user name is g* dot l* at coandev dot com
> i.e. same as the e-mail address I am using but with a different host)
>
> Could that be that I would need to be a member of the `yade-dev/trunk`
> project for approach #1 to succeed? Any ideas? ;)
>
> Gaël
>
>
> PS:
> Result of `git remote -v`
>
>  origin g...@gitlab.com:yade-dev/trunk.git (fetch)
>  origin g...@gitlab.com:yade-dev/trunk.git (push)
>  origin_https   https://gitlab.com/yade-dev/trunk.git (fetch)
>  origin_https   https://gitlab.com/yade-dev/trunk.git (push)
>
> Note: remote `origin` is the upstream.
> ___
> 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
>
___
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 #679544]: Best way to fix typos in documentation: source edit + git push?

2019-04-29 Thread Gael Lorieul
Hi Bruno (and the team),

El 26-04-19 a las 10:03, Bruno Chareyre escribió:
> Yes you can write emails to yade-dev.

Ok, I'll do that next time ;)
But I'll finish the present conversation in yade-users to keep it simple 
(and avoid possibly a mess).

> It would be very helpful if you could try method [1] (gitlab), especially if 
> you plan to change more later,  and it should not be a big deal.
> Assuming you are working on source code pulled from the gitlab repository 
> (else send use the result of "git remote -v"):
> 
> cd trunk
> git status #list which files you have modified
> git commit file1 file2 file3 #the files you changed
> git pull --rebase
> git push origin master:fixtypo

I tried that last Friday and got: (same thing today…)

 > GitLab: You are not allowed to push code to this project.
 fatal: Could not read from remote repository.

 Please make sure you have the correct access rights and the 
repository exists.

Some info about my `origin` repository i.e. `git remote show origin`

 remote origin
 Fetch URL: g...@gitlab.com:yade-dev/trunk.git
 Push URL: g...@gitlab.com:yade-dev/trunk.git
 Branch HEAD: master
 Remote branch:
 master  tracked

I am using SSH authentication, and the gitlab server has the 
corresponding public key (I checked which key I am using with `ssh -vT 
g...@gitlab.com`).

Https authentication also fails (and I checked the credentials I use):

 Username for 'https://gitlab.com': g* dot l* at coandev dot com
 Password for 'https://*@gitlab.com':
 remote: You are not allowed to push code to this project.

Although I cannot push, I can pull i.e. `git pull --rebase` succeeds.

In the GitLab web interface I can see that I am *not* a member of the 
`yade-dev/trunk` project (my user name is g* dot l* at coandev dot com 
i.e. same as the e-mail address I am using but with a different host)

Could that be that I would need to be a member of the `yade-dev/trunk` 
project for approach #1 to succeed? Any ideas? ;)

Gaël


PS:
Result of `git remote -v`

 origin g...@gitlab.com:yade-dev/trunk.git (fetch)
 origin g...@gitlab.com:yade-dev/trunk.git (push)
 origin_https   https://gitlab.com/yade-dev/trunk.git (fetch)
 origin_https   https://gitlab.com/yade-dev/trunk.git (push)

Note: remote `origin` is the upstream.
___
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 #679428]: unable to display sphere with latest version

2019-04-29 Thread Luc OGER
Question #679428 on Yade changed:
https://answers.launchpad.net/yade/+question/679428

Status: Answered => Open

Luc OGER is still having a problem:

I have erased all links to qt4 and compile libQGLViewer for qt5 and qmake-qt5
The program still crashes at the same "view 3D" choice

the last line is :
/tmp/yade-Debt3H/tmp-0:3: Error in sourced command file:
Invalid thread ID: info
(gdb)
i don't even understand the term info for the thread ID ???

if I ask for the "info thread" i got this: Id   Target Id   
Frame
* 1Thread 0x7f0ffc4084c0 (LWP 30222) "yade-2019-04-26" 0x7f0ffb8d1dd7 
in waitpid () from /lib64/libc.so.6
  2Thread 0x7f0fd827b700 (LWP 30227) "WorkerThread"0x7f0ffbbd6246 
in do_futex_wait.constprop () from /lib64/libpthread.so.0
  3Thread 0x7f0fd7a7a700 (LWP 30228) "WorkerThread"0x7f0ffbbd6246 
in do_futex_wait.constprop () from /lib64/libpthread.so.0
  4Thread 0x7f0fc4b1a700 (LWP 30229) "yade-2019-04-26" 0x7f0ffbbd38ad 
in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  5Thread 0x7f0fbcd1c700 (LWP 30230) "llvmpipe-0"  0x7f0ffbbd38ad 
in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  6Thread 0x7f0fbc51b700 (LWP 30231) "llvmpipe-1"  0x7f0ffbbd38ad 
in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  7Thread 0x7f0fbbd1a700 (LWP 30232) "llvmpipe-2"  0x7f0ffbbd38ad 
in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  8Thread 0x7f0fbb519700 (LWP 30233) "llvmpipe-3"  0x7f0ffbbd38ad 
in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  9Thread 0x7f0fbad18700 (LWP 30234) "llvmpipe-4"  0x7f0ffbbd38ad 
in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  10   Thread 0x7f0fba517700 (LWP 30235) "llvmpipe-5"  0x7f0ffbbd38ad 
in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  11   Thread 0x7f0fb9d16700 (LWP 30236) "llvmpipe-6"  0x7f0ffbbd38ad 
in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  12   Thread 0x7f0fb9515700 (LWP 30237) "llvmpipe-7"  0x7f0ffbbd38ad 
in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  13   Thread 0x7f0f9a303700 (LWP 30435) "QXcbEventReader" 0x7f0ffb8fa0bb 
in poll () from /lib64/libc.so.6
  14   Thread 0x7f0f98bf1700 (LWP 30436) "yade-2019-04-26" 0x7f0ffbbd6246 
in do_futex_wait.constprop () from /lib64/libpthread.so.0
  15   Thread 0x7f0f87bf4700 (LWP 30437) "QDBusConnection" 0x7f0ffb8fa0bb 
in poll () from /lib64/libc.so.6
  16   Thread 0x7f0f8733a700 (LWP 30438) "llvmpipe-0"  0x7f0ffbbd38ad 
in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  17   Thread 0x7f0f86b39700 (LWP 30439) "llvmpipe-1"  0x7f0ffbbd38ad 
in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  18   Thread 0x7f0f86338700 (LWP 30440) "llvmpipe-2"  0x7f0ffbbd38ad 
in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  19   Thread 0x7f0f85b37700 (LWP 30441) "llvmpipe-3"  0x7f0ffbbd38ad 
in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  20   Thread 0x7f0f85336700 (LWP 30442) "llvmpipe-4"  0x7f0ffbbd38ad 
in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  21   Thread 0x7f0f84b35700 (LWP 30443) "llvmpipe-5"  0x7f0ffbbd38ad 
in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  22   Thread 0x7f0f6700 (LWP 30444) "llvmpipe-6"  0x7f0ffbbd38ad 
in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  23   Thread 0x7f0f6f7fe700 (LWP 30445) "llvmpipe-7"  0x7f0ffbbd38ad 
in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  24   Thread 0x7f0f6effd700 (LWP 30452) "yade-2019-04-26" 0x7f0ffb8fbf33 
in select () from /lib64/libc.so.6


this looks to be a problem for a pthread but I have no idea where to look 
inside ou avoid this?

-- 
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 #680501]: How Can i impose gravity in Two Phase Flow Engine

2019-04-29 Thread Robert Caulk
Question #680501 on Yade changed:
https://answers.launchpad.net/yade/+question/680501

Robert Caulk posted a new comment:
Careful, I am fairly certain that newton.gravity will not necessarily
apply to the fluid phase. It is probably worth wading through [1] to
confirm.

[1]https://gitlab.com/yade-
dev/trunk/blob/master/pkg/pfv/TwoPhaseFlowEngine.cpp

-- 
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 #680521]: Step by step instruction on how to compile Yade into HPC cluster running RHEL (Red Hat Enterprise Linux)

2019-04-29 Thread Robert Caulk
Question #680521 on Yade changed:
https://answers.launchpad.net/yade/+question/680521

Status: Open => Answered

Robert Caulk proposed the following answer:
The concise answer is exactly what [1] did. The install page shows the
necessary third party libraries that need to be installed for Yade [2],
but the method of installation will be different for RedHat. I believe
RedHat uses Yum instead of apt, so you need to track down the comparable
libraries in that package manager. I guess it is possible you won't find
certain libraries, in which case you need to compile those libraries
separately from source. I do not know if that will be the case.

[1]https://answers.launchpad.net/yade/+question/187904
[2]https://yade-dev.gitlab.io/trunk/installation.html?highlight=compilation#prerequisites

-- 
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 #680501]: How Can i impose gravity in Two Phase Flow Engine

2019-04-29 Thread Jérôme Duriez
Question #680501 on Yade changed:
https://answers.launchpad.net/yade/+question/680501

Status: Open => Answered

Jérôme Duriez proposed the following answer:
Hello,

With https://yade-
dev.gitlab.io/trunk/yade.wrapper.html#yade.wrapper.NewtonIntegrator.gravity,
as usual

-- 
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