yambo-code / yambo-tests

0 stars 0 forks source link

Error running the test suite on the mac #1

Closed henriquemiranda closed 6 years ago

henriquemiranda commented 7 years ago

Hi,

I tried to run the test suite on my Mac to check if the devel-slepc branch passes the tests. I am having some problems running the autotest:

./driver.pl -autotest

See the attached log log.txt

Did anyone experience the same issue?

henriquemiranda commented 7 years ago

Hello everyone,

Changing this line in libs/UTILS.pm: my $pid = ps -awu | grep $user | grep '$cmd' | grep '$ID' | grep -v grep | grep -v kill |grep -v null | awk '{P=P" "\$2}END{print P}';

To this: my $pid = ps -awu $user | grep '$cmd' | grep '$ID' | grep -v grep | grep -v kill |grep -v null | awk '{P=P" "\$2}END{print P}';

fixes the problem for me. This also works on my linux machine.