Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
26754 Discussions

ifort: command line remark #10148: option '-Vaxlib' not supported

Dhirendra_K_
Beginner
731 Views

I am trying to compile a model code with mpiifort. In the makefile compiler flags are mentioned as "-Vaxlib" which is not supported in the new version of compilers I have.

is there any substitute to this flag ?

I am getting following series of errors:

ifort: command line remark #10148: option '-Vaxlib' not supported

oceanforc.o: In function `MAIN__':
oceanforc.f:(.text+0xd67): undefined reference to `nf_open_'
oceanforc.f:(.text+0xd96): undefined reference to `nf_inq_'
oceanforc.f:(.text+0xde2): undefined reference to `nf_inq_dim_'
oceanforc.f:(.text+0x10d0): undefined reference to `nf_inq_varid_'
oceanforc.f:(.text+0x1131): undefined reference to `nf_get_vara_double_'
oceanforc.f:(.text+0x1144): undefined reference to `nf_close_'
oceanforc.f:(.text+0x2419): undefined reference to `nf_create_'
oceanforc.f:(.text+0x2443): undefined reference to `nf_def_dim_'
oceanforc.f:(.text+0x2472): undefined reference to `nf_def_dim_'
oceanforc.f:(.text+0x2494): undefined reference to `nf_def_dim_'
oceanforc.f:(.text+0x24b6): undefined reference to `nf_def_dim_'
oceanforc.f:(.text+0x24d8): undefined reference to `nf_def_dim_'
oceanforc.o:oceanforc.f:(.text+0x2507): more undefined references to `nf_def_dim_' follow
oceanforc.o: In function `MAIN__':
oceanforc.f:(.text+0x2629): undefined reference to `nf_def_var_'
oceanforc.f:(.text+0x266c): undefined reference to `nf_put_att_text_'
oceanforc.f:(.text+0x269f): undefined reference to `nf_put_att_text_'
oceanforc.f:(.text+0x26d2): undefined reference to `nf_put_att_text_'
oceanforc.f:(.text+0x2722): undefined reference to `nf_def_var_'
oceanforc.f:(.text+0x2765): undefined reference to `nf_put_att_text_'
oceanforc.f:(.text+0x2798): undefined reference to `nf_put_att_text_'
oceanforc.f:(.text+0x27cb): undefined reference to `nf_put_att_text_'
oceanforc.f:(.text+0x281b): undefined reference to `nf_def_var_'
oceanforc.f:(.text+0x285e): undefined reference to `nf_put_att_text_'
oceanforc.f:(.text+0x2891): undefined reference to `nf_put_att_text_'
oceanforc.f:(.text+0x28c4): undefined reference to `nf_put_att_text_'
oceanforc.f:(.text+0x2914): undefined reference to `nf_def_var_'
oceanforc.f:(.text+0x2957): undefined reference to `nf_put_att_text_'
oceanforc.f:(.text+0x298a): undefined reference to `nf_put_att_text_'
oceanforc.f:(.text+0x29bd): undefined reference to `nf_put_att_text_'
oceanforc.f:(.text+0x2a0d): undefined reference to `nf_def_var_'
oceanforc.f:(.text+0x2a50): undefined reference to `nf_put_att_text_'
oceanforc.f:(.text+0x2a83): undefined reference to `nf_put_att_text_'
oceanforc.f:(.text+0x2ab6): undefined reference to `nf_put_att_text_'
oceanforc.f:(.text+0x2b06): undefined reference to `nf_def_var_'
oceanforc.f:(.text+0x2b49): undefined reference to `nf_put_att_text_'
oceanforc.f:(.text+0x2b7c): undefined reference to `nf_put_att_text_'
oceanforc.f:(.text+0x2baf): undefined reference to `nf_put_att_text_'
oceanforc.f:(.text+0x2c1b): undefined reference to `nf_def_var_'
oceanforc.f:(.text+0x2c5e): undefined reference to `nf_put_att_text_'
oceanforc.f:(.text+0x2c91): undefined reference to `nf_put_att_text_'
oceanforc.f:(.text+0x2cc4): undefined reference to `nf_put_att_text_'
oceanforc.f:(.text+0x2d30): undefined reference to `nf_def_var_'
oceanforc.f:(.text+0x2d73): undefined reference to `nf_put_att_text_'
oceanforc.f:(.text+0x2da6): undefined reference to `nf_put_att_text_'
oceanforc.f:(.text+0x2dd9): undefined reference to `nf_put_att_text_'
oceanforc.f:(.text+0x2e45): undefined reference to `nf_def_var_'
oceanforc.f:(.text+0x2e88): undefined reference to `nf_put_att_text_'
oceanforc.f:(.text+0x2ebb): undefined reference to `nf_put_att_text_'
oceanforc.f:(.text+0x2eee): undefined reference to `nf_put_att_text_'
oceanforc.f:(.text+0x2f21): undefined reference to `nf_put_att_text_'
oceanforc.f:(.text+0x2f8d): undefined reference to `nf_def_var_'
oceanforc.f:(.text+0x2fd0): undefined reference to `nf_put_att_text_'
oceanforc.f:(.text+0x3003): undefined reference to `nf_put_att_text_'
oceanforc.f:(.text+0x3036): undefined reference to `nf_put_att_text_'
oceanforc.f:(.text+0x3069): undefined reference to `nf_put_att_text_'
oceanforc.f:(.text+0x30d5): undefined reference to `nf_def_var_'
oceanforc.f:(.text+0x3118): undefined reference to `nf_put_att_text_'
oceanforc.f:(.text+0x314b): undefined reference to `nf_put_att_text_'
oceanforc.f:(.text+0x317e): undefined reference to `nf_put_att_text_'
oceanforc.f:(.text+0x31b1): undefined reference to `nf_put_att_text_'
oceanforc.f:(.text+0x321d): undefined reference to `nf_def_var_'
oceanforc.f:(.text+0x3260): undefined reference to `nf_put_att_text_'
oceanforc.f:(.text+0x3293): undefined reference to `nf_put_att_text_'
oceanforc.f:(.text+0x32c6): undefined reference to `nf_put_att_text_'
oceanforc.f:(.text+0x3332): undefined reference to `nf_def_var_'
oceanforc.f:(.text+0x3375): undefined reference to `nf_put_att_text_'
oceanforc.f:(.text+0x33a8): undefined reference to `nf_put_att_text_'
oceanforc.f:(.text+0x3414): undefined reference to `nf_def_var_'
oceanforc.f:(.text+0x3457): undefined reference to `nf_put_att_text_'
oceanforc.f:(.text+0x348a): undefined reference to `nf_put_att_text_'
oceanforc.f:(.text+0x34a4): undefined reference to `nf_enddef_'
oceanforc.f:(.text+0x34fe): undefined reference to `nf_put_vara_double_'
oceanforc.f:(.text+0x3558): undefined reference to `nf_put_vara_double_'
oceanforc.f:(.text+0x35b2): undefined reference to `nf_put_vara_double_'
oceanforc.f:(.text+0x360c): undefined reference to `nf_put_vara_double_'
oceanforc.f:(.text+0x3666): undefined reference to `nf_put_vara_double_'
oceanforc.o:oceanforc.f:(.text+0x36c0): more undefined references to `nf_put_vara_double_' follow
oceanforc.o: In function `MAIN__':
oceanforc.f:(.text+0x39e0): undefined reference to `nf_close_'
make[1]: *** [oceanforc.x] Error 1
make[1]: Leaving directory `/home/ROMS/RSM_ROMS/roms/Utils'
make: *** [utils] Error 2
++ exit 8

 

0 Kudos
4 Replies
TimP
Black Belt
731 Views

Vaxlib option would no longer be required.  It looks like you have a library of support functions which may require rebuilding and inclusion in link dependency.

Dhirendra_K_
Beginner
731 Views

could you please clarify a bit more with the "inclusion in link dependency". The support functions (and its libraries) are not installed using Vaxlib flag. So I am not getting what changes I need to make while rebuilding the same ?

Steve_Lionel
Black Belt Retired Employee
731 Views

-Vaxlib was an option about 20 years ago - after version 8 it became no longer necessary. However none of the symbols in the error message were in "Vaxlib".

Where are these nf_ symbols supposed to come from? It may be you're simply missing a library of routines that define these. A Google search suggests that it's part of some weather code.

mecej4
Black Belt
731 Views

The missing symbols are probably from the NetCDF library from http://www.unidata.ucar.edu/software/netcdf/ . You should have the appropriate version of NetCDF built and installed, and you have to specify the NetCDF library using the -L and -l options.On Linux you should be able to obtain and install NetCDF using your package manager (Yast, Yum, RPM, etc.). You can also build NetCDF from source, but that can be a bit troublesome.

Reply