MPICH vs. AIX-MPI on frost?

Nancy Collins nancy at ucar.edu
Fri Jul 25 11:55:16 CDT 2003


hi -

i ran into the same problem in the C test scripts - see below.

Robert Latham wrote:

>On Fri, Jul 25, 2003 at 09:04:09AM -0700, Tyce Mclarty wrote:
>
>>6. In C test programs ibm C compiler complained that there was no break; 
>>after the default: statements, or maybe just because they were empty. WHat 
>>a pain.
>>    
>>
>
>gcc 3.0 and newer flag that as a warning, but not an error.  Is it an
>error with the ibm compiler?
>  
>
the ibm compiler stops w/ an error on this.  a single empty exectuable
statement (even just a ; following the comment) makes it happy.  

(and you have to stay away from using C++ // style comments unless you also
give the compiler a special -qcpluscmt flag to allow them.  at least some of
the test programs in the 0.8.4 tarball used that syntax instead of the /* */
standard C comments.  again, an error on the ibm.)

-- 
Nancy Collins
Scientific Computing Division
National Center for Atmospheric Research
P.O. Box 3000
Boulder, CO 80307-3000
(303) 497-2461






More information about the parallel-netcdf mailing list