Fellow users,
I'm running into some rather odd behavior trying to compile some software, and would like to know if there is maybe a fix or if I should revert back to a 32-bit version of Centos.
I'm trying to compile NCAR Graphics, as well as some other weather related software on this machine which is running the Centos 4.1 x86-64 version. It's a dual Xeon processor. I've installed all the required rpms, i.e., xdevel, xaw, etc. The problem I'm seeing is during linking of the various packages, where I get messages of "skipping incompatible /usr/X11R6/lib/libXaw.so when searching for -lXaw". I see similar other messages when trying to link to -L X11, and so forth and so on. I've got the correct paths set in the makefiles, but not sure I understand why the libs are being shown as incompatible. If any of you have built ncarg on the x86-64 OS, I'd sure like to hear from you, and what you did to effect the compile.
Thanks..
Sam
On Fri, Sep 02, 2005 at 12:49:40PM -0400, Sam Drinkard wrote:
Fellow users,
...
I'm trying to compile NCAR Graphics, as well as some other weather related software on this machine which is running the Centos 4.1 x86-64 version.
....
The problem I'm seeing is during linking of the various packages, where I get messages of "skipping incompatible /usr/X11R6/lib/libXaw.so when searching for -lXaw".
... Your Makefiles should be looking for the 64 bits libs inside /usr/X11R6/lib64 and not the /usr/X11R6/lib (32 bit compat libs).
Cheers,
Tru
Tru,
Thanks for the info. Best I can tell by looking at the various makefiles, and where I've changed them, the linking is looking at the 64-bit libs. I'm no programmer by any means, but I've built a few things in years past. Anyhow, one package, ncar graphics still gives the same messages about the incompatible libs, even with it pointing to the 64-bit lib directory. In building the mm5 products, the actual mm5 exe will build without hitch using the portland group compiler, but when using ifort of the intel 9.0 compiler, it too fails with the lib errors. I'm just not educated enough to know why there is an incompatibility. I'll ask around on some of the other discussion boards directly related to ncarg and mm5 and see what I can dig up there.
Sam
On Fri, Sep 02, 2005 at 09:51:47PM -0400, Sam Drinkard wrote:
Tru,
Thanks for the info.
You are welcome.
...
things in years past. Anyhow, one package, ncar graphics still gives the same messages about the incompatible libs, even with it pointing to the 64-bit lib directory.
Have you followed the instructions at http://ngwww.ucar.edu/ng4.4/installsrc.html <quote> Special note for Linux systems
The default configuration file for Linux assumes you have a 32-bit architecture and are using the GNU compilers (gcc and g77). If you have a different compiler or architecture (i.e. 64-bit) you want to use, you need to copy the appropriate $NCARG/config/LINUX.xxx file to $NCARG/config/LINUX. Some of the available configuration files include:
1. LINUX.GNU - GNU compilers (32-bit architecture) 2. LINUX.64.GNU - GNU compilers (64-bit architecture) 3. LINUX.PGI - Portland Group compilers (32-bit architecture) 4. LINUX.64.PGI - Portland Group compilers (64-bit architecture) 5. LINUX.INTEL - Intel compilers (32-bit architecture) 6. LINUX.64.INTEL - Intel compilers (64-bit architecture) </quote>
In building the mm5 products, the actual mm5 exe will build without hitch using the portland group compiler, but when using ifort of the intel 9.0 compiler, it too fails with the lib errors. I'm just not educated enough to know why there is an incompatibility. I'll ask around on some of the other discussion boards directly related to ncarg and mm5 and see what I can dig up there.
http://mailman.ucar.edu/pipermail/mm5-users/2004/000602.html ?
caveat, I have never used any of the mentionned software.
cheers,
Tru
Tru,
FwIw, I drug another drive out of the junquebox and installed the 32-bit version of Centos, and did a compile of the ncar graphics. Works like a champ. Sure wish it would under the 64-bit version so I don't have to move everything over from one to another!
While I'm on the subject of drives, is there a way to mount another drive that has the 64-bit ver. installed on it, without trashing stuff -- aside from mounting r.o., how would I go about that?
Thanks..
Sam
On Sat, 2005-09-03 at 21:37 -0400, Sam Drinkard wrote:
While I'm on the subject of drives, is there a way to mount another
drive that has the 64-bit ver. installed on it, without trashing stuff -- aside from mounting r.o., how would I go about that?
Just mount it. The on-disk data structures are the same. LVM and software RAID can make it a bit tricky, but other than that you should be fine.