[OMPI users] Error compiling v1.3 with icc 10.1.021: PATH_MAX not defined

2009-01-23 Thread Andrea Iob
It looks like icc 10.1.021 does not define PATH_MAX
(version 10.1.013 works without problems). As a
workaround I've included  in those files
where PATH_MAX is used. 

Hope it helps.

Andrea









Re: [OMPI users] Error compiling v1.3 with icc 10.1.021: PATH_MAX not defined

2009-01-23 Thread Andrea Iob
> 
> What files did you change?
> 

The files I changed are:

openmpi-1.3/ompi/contrib/vt/vt/vtlib/vt_otf_gen.c 
openmpi-1.3/ompi/contrib/vt/vt/vtlib/vt_thrd.c
openmpi-1.3/opal/util/path.c
openmpi-1.3/orte/mca/plm/rsh/plm_rsh_component.c
openmpi-1.3/orte/tools/orterun/debuggers.c

I've attached a patch with the changes I made.

Andrea




icc-10.1.021-fix.patch
Description: 1631551799-icc-10.1.021-fix.patch


Re: [OMPI users] Error compiling v1.3 with icc 10.1.021: PATH_MAX not defined

2009-01-26 Thread Andrea Iob
> Could you confirm that changing the last 3 files to
> use OMPI_PATH_MAX  
> instead of PATH_MAX (without adding the #include)
> also fixes the  
> problem?
> 

Yes, with OMPI_PATH_MAX the problem is also fixed.

Andrea