Re: [smartos-discuss] MPICH compile failed...

2014-04-28 Thread Nick Zivkovic via smartos-discuss
Just an update, for those who may run into this specific issue in the future. A pkgsrc engineer informed me of the following: While changing the path from /usr/... to /opt/... does in fact make the problem go away, it also happens to be unnecessary. One need merely omit those -L /usr/... and -R /

Re: [smartos-discuss] MPICH compile failed...

2014-04-14 Thread Nick Zivkovic
Bug filed: https://github.com/joyent/pkgsrc/issues/186 Also, what do you mean by "correct ordering"? --- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfb

Re: [smartos-discuss] MPICH compile failed...

2014-04-14 Thread Nick Zivkovic
Yeah, it's a pkgsrc package: ] pkgin avail | grep mpich mpich-3.0.4nb1 Open source MPI, MPI-2, and MPI-3 implementation from Univ. of Chicago I'll file the bug now. --- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RS

Re: [smartos-discuss] MPICH compile failed...

2014-04-14 Thread Robert Mustacchi
On 4/14/14 16:02 , Nick Zivkovic wrote: > Ok fixed. > > The command `mpicc` is in fact a bash script, located at > `/opt/local/bin/mpicc`. > > There is a variable named LDFLAGS which is defined as follows: > > LDFLAGS="-L/opt/local/lib -Wl,-R/opt/local/lib -L/opt/local/lib > -L/opt/local/gcc47/

Re: [smartos-discuss] MPICH compile failed...

2014-04-14 Thread Nick Zivkovic
Ok fixed. The command `mpicc` is in fact a bash script, located at `/opt/local/bin/mpicc`. There is a variable named LDFLAGS which is defined as follows: LDFLAGS="-L/opt/local/lib -Wl,-R/opt/local/lib -L/opt/local/lib -L/opt/local/gcc47/lib/gcc/x86_64-sun-solaris2.11/4.7.3 -Wl,-R/opt/local/gcc47

Re: [smartos-discuss] MPICH compile failed...

2014-04-14 Thread Robert Mustacchi
On 4/14/14 15:13 , Nick Zivkovic wrote: > Hi. > > I've been trying to get MPICH to compile my very simple hello-world > program which uses MPI. > > Steps I took: > > mpicc -c hw.c > mpicc -o hw hw.o > > Which resulted in the following error: > > ] mpicc -o hw hw.o > ld: fatal: file /usr/lib/am

[smartos-discuss] MPICH compile failed...

2014-04-14 Thread Nick Zivkovic
Hi. I've been trying to get MPICH to compile my very simple hello-world program which uses MPI. Steps I took: mpicc -c hw.c mpicc -o hw hw.o Which resulted in the following error: ] mpicc -o hw hw.o ld: fatal: file /usr/lib/amd64/libgcc_s.so.1: version 'GCC_4.5.0' does not exist: requi