[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bgl-discuss] xlc/xlf versions of mpicc/mpif77 etc?
good to know. It sounds like blrts_xlc is not careful in dealing with
quotes as in Bill's mpicc.
On Wed, 11 May 2005, Satish Balay wrote:
> On Wed, 11 May 2005, Anthony Chan wrote:
>
> > Will probably use blrts_xlc from the PATH as satish said.
>
> For our use - I'll have to continue to use the cfg file directly with
> xlc - instead of blrts_xlc wrappers - as they don't preserve some
> compiler options..
>
> Satish
>
> -------
> balay@login1:~/junk> cat def.c
> #include <stdio.h>
> int main(void)
> {
> printf("%s\n",STR);
> return 0;
> }
> balay@login1:~/junk> xlc -DSTR='"Hello World"' def.c
> balay@login1:~/junk> ~balay/bin/mpicc.ibm -DSTR='"Hello World"' def.c
> balay@login1:~/junk> blrts_xlc -DSTR='"Hello World"' def.c
> /opt/ibmcmp/vac/7.0/bin/xlc: 1501-228 input file World" not found
> "def.c", line 4.22: 1506-186 (S) String literal must be ended before the end of line.
> "def.c", line 5.3: 1506-276 (S) Syntax error: possible missing ')'?
> balay@login1:~/junk>
>
> balay@login1:~/junk> ~/bin/mpicc.ibm -show
> /soft/apps/ibmcmp-20050414/vac/7.0/bin/xlc -F /etc/opt/ibmcmp/vac/7.0/blrts-vac.cfg -I/bgl/BlueLight/DRV100_2005-050311PM/ppc/bglsys/include -L/bgl/BlueLight/DRV100_2005-050311PM/ppc/bglsys/lib -lmpich.rts -L/bgl/BlueLight/DRV100_2005-050311PM/ppc/bglsys/lib -lmsglayer.rts -ldevices.rts -lrts.rts -ldevices.rts -lrts.rts -lc -lnss_files -lnss_dns -lresolv
>
> [scripts updated to use the new config file location]
>
>
- --------------------------------------------------------------------
To add or remove yourself from this mailing list, use the 'notifyme'
command on any BGL machine. To remove: notifyme -n, to add: notifyme -y.