logo
spacer image for formatting
FAQ Log in spacer image for formatting
Search Profile spacer image for formatting
Memberlist Usergroups spacer image for formatting
Log in to check your private messages spacer image for formatting
Register spacer image for formatting
top border image
spacer image for formatting
Development Environment --HELP!
post new topic: Post new topic   post reply: Reply to topic
Isis Support Center Forum Index » Chat about Isis 2 » Development Environment --HELP!
View previous topic :: View next topic  
Author Message
gwayne
Horus (New Member)
Horus (New Member)


Joined: 09 Apr 2004
Posts: 4

 mini post alt: Post Posted: Tue Jun 01, 2004 10:04 am    Post subject: Development Environment --HELP!
Reply with quote

I am currently tasked with parallelizing (where possible) parts of the ISIS codebase and apps we use at LPI. The target platform is an older generation Scyld beowulf. Right now I am developing on RH9, but have apparently run into problems with glibc-2.3.2. I have moved my development environment onto the beowulf but continue to experience similar problems and new ones resulting from older tools.

I intend to use both OpenMP and MPI and therefore need a compiler that supports OpenMP, like Intel's. I have read through the build scripts and setup my environment using them, but I must be missing something. The majority of problems seem to be missing ENV VARS. I'm not completely new to UNIX/Linux development, but I've hit a few stumpers. I've tested both with gcc and icc with the same results -- mostly undefined references. Even the build/Firstbuild scripts fail to build all the libraries.

Anyone else in a similar situation? Any tips on platform, environment or other tools? Compilers?

Thanks,
Glenn
 Back to top »
View user's profile Send private message Visit poster's website
spacer image
gwayne
Horus (New Member)
Horus (New Member)


Joined: 09 Apr 2004
Posts: 4

 mini post alt: Post Posted: Wed Jun 02, 2004 1:27 pm    Post subject: RE: Development Environment
Reply with quote

Interesting thing about icc, when you have a -I with a blank path, it produces undefined references errors when it would otherwise compile. I was able to clear up that problem, but now when trying to link apps against ISIS libs, I get undefined refs. When I link all the necessary libs, I get even more undefined refs from them.

Any clues would be helpful.

Glenn
 Back to top »
View user's profile Send private message Visit poster's website
spacer image
janderson
Isis Support Team
Isis Support Team


Joined: 27 Feb 2004
Posts: 912
Location: USGS Astrogeology Research Program, Flagstaff, AZ

 mini post alt: Post Posted: Fri Jun 04, 2004 8:50 am    Post subject:
Reply with quote

Hi Glenn,

We are planning a new release of Isis 2.1.3 around June 15th. In this release we have modified source code and the make system so that Isis will build on the newer version of the Linux kernel and compilers. In particular:

Kernel.................2.4.21-99
gcc-g77-g++........3.3.1-24
glibc....................2.3.2-88
ncurses................5.3-110
perl.....................5.8.1-46

Hopefully these changes will make your project a bit easier. We did experience undefined reference problems when we tried to use g++ for compiling and ld for linking and building shared libraries. We discovered we needed to use g++ for all three tasks: compiling, linking, and building shared libraries.

Unfortunately I don't have any experience parallelizing code, but have plenty of exp paralyzing code Shocked, so I can't weigh in on this one. Good luck and hopefully somebody else has some valuable comments/experience.

Jeff Anderson.
 Back to top »
View user's profile Send private message Visit poster's website
spacer image
gwayne
Horus (New Member)
Horus (New Member)


Joined: 09 Apr 2004
Posts: 4

 mini post alt: Post Posted: Fri Jun 04, 2004 9:49 am    Post subject: Development Environment
Reply with quote

I have done quite a bit of rework on the Makefiles and build scripts too. In particular, I created an autoconf/automake script, but it's still in the works. I look forward to comparing your changes.

The results of the parallelization will benefit anyone who's interested, but right now the D.E. is giving me fits, so I have to get that fixed first.


Thanks,
Glenn
 Back to top »
View user's profile Send private message Visit poster's website
spacer image
karlmitchell
Osiris (Active Member)
Osiris (Active Member)


Joined: 19 Mar 2004
Posts: 29
Location: Jet Propulsion Laboratory, Pasadena, CA

 mini post alt: Post Posted: Sat Jun 05, 2004 2:01 am    Post subject: Parallelising ISIS
Reply with quote

Hi Glenn,

We have also been looking into parallelising parts of ISIS using MPI, but haven't actually had the time to make a start yet. We have access to both ix86-linux and sparc-solaris clusters, and so if there is anything we can do to help regarding testing the system, please let me know.

Cheers,

-k

Dr Karl Mitchell
Lancaster University, UK
 Back to top »
View user's profile Send private message Send e-mail
spacer image
gwayne
Horus (New Member)
Horus (New Member)


Joined: 09 Apr 2004
Posts: 4

 mini post alt: Post Posted: Mon Jun 07, 2004 6:26 am    Post subject: Parallelization
Reply with quote

Once I get the build environment established with the forthcoming release, I'll begin my parallelization efforts. We have a small x86 beowulf and Sparc cluster available also.

Have you identified any candidates for parallelization? I am not an ISIS expert, nor do I have extensive experience with its code. I plan to do some profiling and code coverage after talking to the heavy users to see where improvements are needed most.

Glenn
 Back to top »
View user's profile Send private message Visit poster's website
spacer image
ansley
Guest





 mini post alt: Post Posted: Sun Jul 27, 2008 8:54 am    Post subject:
Reply with quote

I have done a bit of work on the Makefiles and build scripts. In particular, I created an autoconf/automake script, but it's still in the works. I look forward to comparing your changes.
 Back to top »
spacer image
Display posts from previous:   
Isis Support Center Forum Index » Chat about Isis 2 » Development Environment --HELP!
post new topic: Post new topic   post reply: Reply to topic All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
spacer image for formatting
image for the bottom border

If you are having problems logging in, accessing, or using the Isis Support Center, please contact Isis Support Center Administration: isisweb[at]astrogeology.usgs.gov.

USGS Isis Home





Solaris 1.12 phpBB theme/template © 2003 - 2006 Jakob Persson(forumthemes/bbstyles)