CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

Compiling, building, hacking...

Register Blogs Members List Search Today's Posts Mark Forums Read

Compiling, building, hacking... In this category are all of the blog posts that are about building, compiling and "hacking" software, mostly OpenFOAM.
Old

Linking dynamic libraries and initializing variables

Posted August 27, 2011 at 15:14 by wyldckat
Updated July 10, 2016 at 17:22 by wyldckat (added more links...)

This blog post is an effort to document the search for solutions for loading dynamically linked libraries and initializing their objects in the desired order. With me, it all started with this bug report: http://bugs.openfoam.org/view.php?id=236

Basically, OpenFOAM initializes debug values right after loading all of the necessary libraries. These debug values are read from the global controlDict files (see $WM_PROJECT_DIR/etc/controlDict in your own OpenFOAM installation, or at the git repo)...
Retired Super Moderator
Views 3685 Comments 1 wyldckat is offline Edit Tags
Old
Rating: 2 votes, 4.50 average.

Build times for OpenFOAM 2.0.x code with Ubuntu 10.10 with its gcc 4.4.5

Posted August 20, 2011 at 12:41 by wyldckat
Updated August 27, 2011 at 14:36 by wyldckat (Added a few notes)

This post is gathers information about OpenFOAM 2.0.x build times, using the gcc version that comes with Ubuntu 10.10, namely 4.4.5.

_____________ This was initially posted here: http://www.openfoam.com/mantisbt/view.php?id=256 _____________

Since I was curious about using N+1 processes, I've built OpenFOAM 3 times on my machine that has 8GB of DDR2 800MHz and one AMD 1055T X6, using Ubuntu 10.10 with its original gcc version:
  • 1st build with 6 processes;
  • 2nd
...
Retired Super Moderator
Views 4955 Comments 2 wyldckat is offline Edit Tags
Old

Trying to include glibc in my build-gcc scripts...

Posted October 24, 2010 at 20:59 by wyldckat
Updated August 27, 2011 at 14:37 by wyldckat (fixed typos...)

If you don't know what I mean by build-gcc, read this first: Automated scripts for building gcc 4.4.x and 4.5.x for using with OpenFOAM 1.7 series


Sometime ago, a problem was detected when using one of my build-gcc scripts (see OpenFoam 1.7.0 on RHEL 4.6 post #3) about no valid libc.so being found during the build procedure. This was later fixed by adding the proper lib folder path to LD_LIBRARY_PATH (read post #9 on that thread).

Nonetheless,...
Attached Files
File Type: gz build-gcc44experimental.tar.gz (3.9 KB, 183 views)
Retired Super Moderator
Views 2385 Comments 0 wyldckat is offline Edit Tags

All times are GMT -4. The time now is 03:12.