Linking problems with ifort and visual studio 2003

2008-03-24 Thread Ben Tay
Hi Satish, I tried to change the compiler options to be as similar to that in the cygwin environment. Still can't manage to get it to work. The errors I copy n paste is directly from the IDE of studio 2003, so I'm sure it can't be from Compaq. Btw, here's the options: For compiling (no

Linking problems with ifort and visual studio 2003

2008-03-23 Thread Ben Tay
Hi, I've successfully compiled the library of PETSc. The examples also worked (I tested ex1f). However in the IDE of visual studio 2003, I can't seem to link, although compiling the individual files were fine. The errors are: global.obj error LNK2019: unresolved external symbol

Linking problems with ifort and visual studio 2003

2008-03-23 Thread Satish Balay
Ok - you are using VisualStudio 2003 + IntelFortran compilers to build PETSc. A PETSc fortran example [ex1f] compiles from 'make' but not from IDE? Then some setting in the IDE does not match the compile option. Per installation instructions - you should make sure you have *all* compiler options

Linking problems with ifort and visual studio 2003

2008-03-23 Thread Satish Balay
On Mon, 24 Mar 2008, Ben Tay wrote: Hi Satish, I tried to change the compiler options to be as similar to that in the cygwin environment. Still can't manage to get it to work. The errors I copy n paste is directly from the IDE of studio 2003, so I'm sure it can't be from Compaq. Btw,