[gecode-users] gecode on a red hat cluster with gcc 4.1.2

Guido Tack tack at gecode.org
Thu May 6 16:03:59 CEST 2010


My first try would be to compile the code on a desktop machine and then ship the executable to the cluster (provided it's an x86 cluster, of course).  That way, you could simply link everything statically, and you're independent of the actual cluster environment.
I haven't tried compiling Gecode with gcc < 4.2 for a long time, but I'm pretty sure it wasn't just some components that wouldn't compile, but data structures in the very core of Gecode.  Some things (mostly in the set constraints module, I think) were even miscompiled, so the code would simply crash although it was actually correct.  That's why we decided not to support old versions of gcc any longer.

Cheers,
	Guido

Peter Vanhee wrote:

> Hi all,
> 
> We're trying hard to compile gecode on a red hat cluster, however, we had to install
> the gcc 4.4.3 in order to compile gecode, while the official gcc version for Redhat
> installed in the cluster is gcc 4.1.2. However, besides the fact that updating gcc
> is a tricky task, we ran into various gecode-unrelated problems.
> 
> Are there any workarounds to installing gecode using 4.1.2 ? (e.g. by removing
> some of the components that are not crucial but need +4.2), or is this simply impossible?
> 
> Thanks for the help,
> Peter 
> _______________________________________________
> Gecode users mailing list
> users at gecode.org
> https://www.gecode.org/mailman/listinfo/gecode-users

-- 
Guido Tack, http://www.cs.kuleuven.be/~guido.tack/






More information about the users mailing list