Re: Undefined symbols for architecture x86_64 error on fortran compiling

2013-12-12 Thread Davor Cubranic
I think ifort is intel's fortran compiler. I'm not sure what it's got to do with MacPorts either. (Or why the executable being produced has the ".exe" extension.) Davor > On Dec 11, 2013, at 8:20 AM, Christopher Jones > wrote: > > Hi, > > Where is this ‘ifort’ coming from ? A Macports packa

Re: Undefined symbols for architecture x86_64 error on fortran compiling

2013-12-11 Thread Christopher Jones
Hi, Where is this ‘ifort’ coming from ? A Macports package or elsewhere ? From the messages below, I am not sure I see what this has to do with MacPorts ? Chris On 11 Dec 2013, at 5:13pm, zhifeng yang wrote: > Here is the whole command to compile this fortran code with error > > ifort -o wrf

Re: Undefined symbols for architecture x86_64 error on fortran compiling

2013-12-11 Thread zhifeng yang
Here is the whole command to compile this fortran code with error ifort -o wrf.exe -openmp -fpp -auto -O3 -ip -fp-model precise -w -ftz -align all -fno-alias -FR -convert big_endian -ip -Wl,-stack_addr,0xF1000 -Wl,-stack_size,0x6400 -m64 wrf.o ../main/module_wrf_top.o libwrflib.a /U

Re: Undefined symbols for architecture x86_64 error on fortran compiling

2013-12-11 Thread zhifeng yang
Here is the whole error Undefined symbols for architecture x86_64: "___kmpc_end_master", referenced from: _wrf_message_ in module_wrf_error.o _wrf_message2_ in module_wrf_error.o _wrf_check_error_ in module_wrf_error.o _wrf_error_fatal_ in module_wrf_error.o _wrf_err

Re: Undefined symbols for architecture x86_64 error on fortran compiling

2013-12-11 Thread Brandon Allbery
On Wed, Dec 11, 2013 at 2:40 AM, Gmail wrote: > Hi all > > When I compile a fortran code, I got the error > Undefined symbols for architecture x86_64 > > My mac is 64bits. The fortran compiler used here is ifort. > This is an incomplete error message. Please show the full command and full output

Re: Undefined symbols for architecture x86_64 error on fortran compiling

2013-12-11 Thread Ryan Schmidt
On Dec 11, 2013, at 01:40, Gmail wrote: > When I compile a fortran code, I got the error > Undefined symbols for architecture x86_64 > > My mac is 64bits. The fortran compiler used here is ifort. The relevant information would be *what* symbols were undefined, what your code looks like, and w