Hermes2d.spkg in Femhub

22 views
Skip to first unread message

Luke Satin

unread,
Oct 31, 2011, 8:24:38 AM10/31/11
to femhub
Hi,

I downloaded the last Hermes2d from http://femhub.org/stpack/ , which
was newer than the one which is fetched by Femhub from git.

And got error when running configure script:

"
CMake Error at /home/lab/repo/git/femhub-distribution_cyber/local/
share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:70
(MESSAGE):
Could NOT find PTHREAD (missing: PTHREAD_LIBRARY)
Call Stack (most recent call first):
/home/lab/repo/git/femhub-distribution_cyber/spkg/build/
hermes2d-201012090547_4c365d1/hermes_common/cmake/FindPTHREAD.cmake:15
(FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:165 (find_package)


-- Configuring incomplete, errors occurred!
"

Other libraries are using PTHREAD (like Python) and they compiled
without any problems. I guess that's because, they had -lPTHREAD
parameter or similar when configuring/compiling. Should I fix this or
is it already fixed on hermes git? If so, I can download the latest
git and build the spkg from it.

I had to update nearly all packages in Femhub in order to get it to
work. I had to replace python 2.6.4, which is buggy on the latest
Ubuntu even from original Sage repository. I have replaced it with
python 2.7 and now it works.

Thanks,
(Cyber)Luke

Luke Satin

unread,
Oct 31, 2011, 9:18:38 AM10/31/11
to femhub
When I run:
./femhub --shell
cd spkg/standard/hermes2d-201012090547_qw1zxc/hermes2d
sh spkg-install

I get the same error: CMake Error at /home/lab/repo/git/femhub-
distribution_cyber/local/share/cmake-2.8/Modules/
FindPackageHandleStandardArgs.cmake:70 (MESSAGE):
Could NOT find PTHREAD (missing: PTHREAD_LIBRARY)
Call Stack (most recent call first):
/home/lab/repo/git/femhub-distribution_cyber/spkg/standard/
hermes2d-201012090547_qw1zxc/hermes_common/cmake/FindPTHREAD.cmake:15
(FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:165 (find_package)

But when I run it outside the femhub shell, just in normal shell, it
works:
Found PTHREAD: /usr/lib/i386-linux-gnu/libpthread.so , but another
error is produced:

CMake Error at /usr/share/cmake-2.8/Modules/
FindPackageHandleStandardArgs.cmake:91 (MESSAGE):
Could NOT find JUDY (missing: JUDY_INCLUDE_DIR JUDY_LIBRARY)
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:252
(_FPHSA_FAILURE_MESSAGE)
/home/lab/repo/git/femhub-distribution_cyber/spkg/standard/
hermes2d-201012090547_qw1zxc/hermes_common/cmake/FindJUDY.cmake:9
(FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:166 (find_package)

On Oct 31, 1:24 pm, Luke Satin <luke.sa...@gmail.com> wrote:
> Hi,
>
> I downloaded the last Hermes2d fromhttp://femhub.org/stpack/, which

Luke Satin

unread,
Oct 31, 2011, 9:21:11 AM10/31/11
to femhub
I can see judy is here: http://femhub.org/stpack/judy-1.0.5.p1.spkg
...so the real problem is, that there should be also a pthread.spkg
package installed in femhub, which does not exist or femhub cmake
should search outside of $SPKG_LOCAL path.

Pavel Solin

unread,
Oct 31, 2011, 12:16:25 PM10/31/11
to fem...@googlegroups.com, Vladimír Černý
On Mon, Oct 31, 2011 at 6:21 AM, Luke Satin <luke....@gmail.com> wrote:
I can see judy is here: http://femhub.org/stpack/judy-1.0.5.p1.spkg
...so the real problem is, that there should be also a pthread.spkg
package installed in femhub, which does not exist or femhub cmake
should search outside of $SPKG_LOCAL path.

Hi Luke,
  the old version of Hermes depended on Judy, the new one 
does not. Wrapping the new one should be finished in one week, 
hopefully - I am copying Vlada. Please do not spend too much 
time with the old version of Hermes in femhub-distribution, it 
will be deleted soon.

Pavel
 
--
You received this message because you are subscribed to the Google Groups "femhub" group.
To post to this group, send email to fem...@googlegroups.com.
To unsubscribe from this group, send email to femhub+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/femhub?hl=en.




--
Pavel Solin
University of Nevada, Reno
http://hpfem.org/~pavel

Luke Satin

unread,
Oct 31, 2011, 12:53:08 PM10/31/11
to femhub
Hi,

I have both Judy and Hermes2D from http://femhub.org/stpack/ ...the
problem is with pthread library not being found in Femhub's
environment.

I tried to delete hermes2d.spkg from ./spkg/standard/ and tried to
compile Femhub again, but it wrote that hermes2d is missing and ended
with fatal error. So I can't compile Femhub and finish my task, which
is modifying Femhub's scripts. I've noticed that there's some option
to build hermes2d from git out of the box, so I'll try it as a last
option.

Luke

On Oct 31, 5:16 pm, Pavel Solin <solin.pa...@gmail.com> wrote:
> University of Nevada, Renohttp://hpfem. <http://hpfem.math.unr.edu/people/pavel/>org/~pavel

Pavel Solin

unread,
Oct 31, 2011, 1:18:08 PM10/31/11
to fem...@googlegroups.com
On Mon, Oct 31, 2011 at 9:53 AM, Luke Satin <luke....@gmail.com> wrote:
Hi,

I have both Judy and Hermes2D from http://femhub.org/stpack/ ...the
problem is with pthread library not being found in Femhub's
environment.

I tried to delete hermes2d.spkg from ./spkg/standard/ and tried to
compile Femhub again, but it wrote that hermes2d is missing and ended
with fatal error. So I can't compile Femhub and finish my task, which
is modifying Femhub's scripts. I've noticed that there's some option
to build hermes2d from git out of the box, so I'll try it as a last
option.

Hi Luke, can you try to comment out hermes2d from the 
install script for the time being? Other parts of femhub-distribution 
do not depend on it.

Pavel
http://hpfem.org/~pavel

Luke Satin

unread,
Oct 31, 2011, 1:35:59 PM10/31/11
to femhub
Hi Pavel,

They do not depend on it? Ok, thank you for your time and help! I did
not spend any time on figuring it out luckily. I just waited for some
answer.

Luke

On Oct 31, 6:18 pm, Pavel Solin <solin.pa...@gmail.com> wrote:

Pavel Solin

unread,
Oct 31, 2011, 2:24:01 PM10/31/11
to fem...@googlegroups.com
On Mon, Oct 31, 2011 at 10:35 AM, Luke Satin <luke....@gmail.com> wrote:
Hi Pavel,

They do not depend on it? Ok, thank you for your time and help! I did
not spend any time on figuring it out luckily. I just waited for some
answer.

Hermes is just one of several computational codes. If the 
current version hinders development, it should be 
temporarily removed.
http://hpfem.org/~pavel

Reply all
Reply to author
Forward
0 new messages