CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Main CFD Forum (http://www.cfd-online.com/Forums/main/)
-   -   G95 + CGNS (http://www.cfd-online.com/Forums/main/12893-g95-cgns.html)

Bruno January 29, 2007 11:51

G95 + CGNS
 
Hi, Has anyone been able to compile & run a CGNS based code with the G95 compiler? I am having a tough time trying to run this on my Linux box):

sorting_connections.f90:(.text+0x3bf8): undefined reference to `cg_open_f__' sorting_connections.f90:(.text+0x3c07): undefined reference to `cg_error_exit_f__' sorting_connections.f90:(.text+0x3c22): undefined reference to `cg_version_f__' sorting_connections.f90:(.text+0x3c31): undefined reference to `cg_error_exit_f__' sorting_connections.f90:(.text+0x3c59): undefined reference to `cg_nzones_f__' sorting_connections.f90:(.text+0x3c68): undefined reference to `cg_error_exit_f__' sorting_connections.f90:(.text+0x3c7b): undefined reference to `cg_close_f__' /tmp/ccfHV1lT.o: In function `multizonecgns_MP_read_connections_from_file': sorting_connections.f90:(.text+0x3cfb): undefined reference to `cg_open_f__' sorting_connections.f90:(.text+0x3d0a): undefined reference to `cg_error_exit_f__' sorting_connections.f90:(.text+0x3d28): undefined reference to `cg_version_f__' sorting_connections.f90:(.text+0x3d37): undefined reference to `cg_error_exit_f__' sorting_connections.f90:(.text+0x3db4): undefined reference to `cg_n1to1_f__' sorting_connections.f90:(.text+0x3f01): undefined reference to `cg_zone_read_f__' sorting_connections.f90:(.text+0x42d7): undefined reference to `cg_coord_read_f__' sorting_connections.f90:(.text+0x42e6): undefined reference to `cg_error_exit_f__' sorting_connections.f90:(.text+0x4347): undefined reference to `cg_coord_read_f__' sorting_connections.f90:(.text+0x4356): undefined reference to `cg_error_exit_f__' sorting_connections.f90:(.text+0x43b7): undefined reference to `cg_coord_read_f__' sorting_connections.f90:(.text+0x43c6): undefined reference to `cg_error_exit_f__' sorting_connections.f90:(.text+0x4590): undefined reference to `cg_1to1_read_f__' sorting_connections.f90:(.text+0x4dce): undefined reference to `cg_close_f__' /tmp/ccnAfKrr.o: In function `cgns_MP_findnumberofsolutions': CGNS.F90:(.text+0xad): undefined reference to `cg_open_f__' CGNS.F90:(.text+0xbc): undefined reference to `cg_error_exit_f__' CGNS.F90:(.text+0xe7): undefined reference to `cg_nsols_f__' CGNS.F90:(.text+0xf6): undefined reference to `cg_error_exit_f__' CGNS.F90:(.text+0x10a): undefined reference to `cg_close_f__' CGNS.F90:(.text+0x119): undefined reference to `cg_error_exit_f__' /tmp/ccnAfKrr.o: In function `cgns_MP_save_cell_centered_coords_t': CGNS.F90:(.text+0x323): undefined reference to `cg_open_f__' CGNS.F90:(.text+0x332): undefined reference to `cg_error_exit_f__' CGNS.F90:(.text+0x405): undefined reference to `cg_sol_write_f__' CGNS.F90:(.text+0x414): undefined reference to `cg_error_exit_f__' CGNS.F90:(.text+0x747): undefined reference to `cg_field_write_f__' CGNS.F90:(.text+0x790): undefined reference to `cg_error_exit_f__' CGNS.F90:(.text+0x7b7): undefined reference to `cg_close_f__' CGNS.F90:(.text+0x7c6): undefined reference to `cg_error_exit_f__' /tmp/ccnAfKrr.o: In function `cgns_MP_save_cell_centered_coords': CGNS.F90:(.text+0xa22): undefined reference to `cg_open_f__' CGNS.F90:(.text+0xa31): undefined reference to `cg_error_exit_f__' CGNS.F90:(.text+0xa87): undefined reference to `cg_base_write_f__' CGNS.F90:(.text+0xa96): undefined reference to `cg_error_exit_f__' CGNS.F90:(.text+0x163e): undefined reference to `cg_zone_write_f__' CGNS.F90:(.text+0x164d): undefined reference to `cg_error_exit_f__' CGNS.F90:(.text+0x19d3): undefined reference to `cg_coord_write_f__' CGNS.F90:(.text+0x1a1c): undefined reference to `cg_error_exit_f__' CGNS.F90:(.text+0x1d8f): undefined reference to `cg_coord_write_f__' CGNS.F90:(.text+0x1dd8): undefined reference to `cg_error_exit_f__' CGNS.F90:(.text+0x2169): undefined reference to `cg_coord_write_f__' CGNS.F90:(.text+0x21b2): undefined reference to `cg_error_exit_f__' CGNS.F90:(.text+0x22fd): undefined reference to `cg_close_f__' CGNS.F90:(.text+0x230c): undefined reference to `cg_error_exit_f__' /tmp/ccnAfKrr.o: In function `cgns_MP_savetemperature': CGNS.F90:(.text+0x25d1): undefined reference to `cg_open_f__' CGNS.F90:(.text+0x25e0): undefined reference to `cg_error_exit_f__' CGNS.F90:(.text+0x2c77): undefined reference to `cg_sol_write_f__' CGNS.F90:(.text+0x2c86): undefined reference to `cg_error_exit_f__' CGNS.F90:(.text+0x2ce6): undefined reference to `cg_goto_f__' CGNS.F90:(.text+0x2cf5): undefined reference to `cg_error_exit_f__' CGNS.F90:(.text+0x2d0b): undefined reference to `cg_rind_write_f__' CGNS.F90:(.text+0x2d1a): undefined reference to `cg_error_exit_f__' CGNS.F90:(.text+0x30bc): undefined reference to `cg_field_write_f__' CGNS.F90:(.text+0x3105): undefined reference to `cg_error_exit_f__' CGNS.F90:(.text+0x3138): undefined reference to `cg_close_f__' CGNS.F90:(.text+0x314b): undefined reference to `cg_error_exit_f__' CGNS.F90:(.text+0x329e): undefined reference to `cg_open_f__' CGNS.F90:(.text+0x32ad): undefined reference to `cg_error_exit_f__' CGNS.F90:(.text+0x33a4): undefined reference to `cg_sol_write_f__' CGNS.F90:(.text+0x33b3): undefined reference to `cg_error_exit_f__' CGNS.F90:(.text+0x3719): undefined reference to `cg_field_write_f__' CGNS.F90:(.text+0x3762): undefined reference to `cg_error_exit_f__' CGNS.F90:(.text+0x3795): undefined reference to `cg_close_f__' CGNS.F90:(.text+0x37a4): undefined reference to `cg_error_exit_f__' /tmp/ccnAfKrr.o: In function `cgns_MP_savefile': CGNS.F90:(.text+0x3a88): undefined reference to `cg_open_f__' CGNS.F90:(.text+0x3a97): undefined reference to `cg_error_exit_f__' CGNS.F90:(.text+0x3aed): undefined reference to `cg_base_write_f__' CGNS.F90:(.text+0x3afc): undefined reference to `cg_error_exit_f__' CGNS.F90:(.text+0x3d6f): undefined reference to `cg_zone_write_f__' CGNS.F90:(.text+0x3d7e): undefined reference to `cg_error_exit_f__' CGNS.F90:(.text+0x418d): undefined reference to `cg_coord_write_f__' CGNS.F90:(.text+0x41d6): undefined reference to `cg_error_exit_f__' CGNS.F90:(.text+0x45e8): undefined reference to `cg_coord_write_f__' CGNS.F90:(.text+0x4631): undefined reference to `cg_error_exit_f__' CGNS.F90:(.text+0x4a41): undefined reference to `cg_coord_write_f__' CGNS.F90:(.text+0x4a8a): undefined reference to `cg_error_exit_f__' CGNS.F90:(.text+0x4ab8): undefined reference to `cg_close_f__' CGNS.F90:(.text+0x4acb): undefined reference to `cg_error_exit_f__' CGNS.F90:(.text+0x4b80): undefined reference to `cg_open_f__' CGNS.F90:(.text+0x4b8f): undefined reference to `cg_error_exit_f__' CGNS.F90:(.text+0x4be5): undefined reference to `cg_base_write_f__' CGNS.F90:(.text+0x4bf4): undefined reference to `cg_error_exit_f__' CGNS.F90:(.text+0x579c): undefined reference to `cg_zone_write_f__' CGNS.F90:(.text+0x57ab): undefined reference to `cg_error_exit_f__' CGNS.F90:(.text+0x5b1e): undefined reference to `cg_coord_write_f__' CGNS.F90:(.text+0x5b67): undefined reference to `cg_error_exit_f__' CGNS.F90:(.text+0x5eda): undefined reference to `cg_coord_write_f__' CGNS.F90:(.text+0x5f23): undefined reference to `cg_error_exit_f__' CGNS.F90:(.text+0x62d0): undefined reference to `cg_coord_write_f__' CGNS.F90:(.text+0x6319): undefined reference to `cg_error_exit_f__' CGNS.F90:(.text+0x6464): undefined reference to `cg_close_f__' CGNS.F90:(.text+0x6473): undefined reference to `cg_error_exit_f__' /tmp/ccnAfKrr.o: In function `cgns_MP_loadzone': CGNS.F90:(.text+0x65d4): undefined reference to `cg_zone_type_f__' CGNS.F90:(.text+0x65e3): undefined reference to `cg_error_exit_f__' CGNS.F90:(.text+0x6621): undefined reference to `cg_zone_read_f__' CGNS.F90:(.text+0x6630): undefined reference to `cg_error_exit_f__' CGNS.F90:(.text+0x6696): undefined reference to `cg_goto_f__' CGNS.F90:(.text+0x66a5): undefined reference to `cg_error_exit_f__' CGNS.F90:(.text+0x66de): undefined reference to `cg_ncoords_f__' CGNS.F90:(.text+0x66ed): undefined reference to `cg_error_exit_f__' CGNS.F90:(.text+0x6a87): undefined reference to `cg_coord_info_f__' CGNS.F90:(.text+0x6a96): undefined reference to `cg_error_exit_f__' CGNS.F90:(.text+0x6c36): undefined reference to `cg_coord_read_f__' CGNS.F90:(.text+0x6c45): undefined reference to `cg_error_exit_f__' CGNS.F90:(.text+0x7093): undefined reference to `cg_coord_read_f__' CGNS.F90:(.text+0x70a2): undefined reference to `cg_error_exit_f__' /tmp/ccnAfKrr.o: In function `cgns_MP_loadfile': CGNS.F90:(.text+0x7507): undefined reference to `cg_open_f__' CGNS.F90:(.text+0x7516): undefined reference to `cg_error_exit_f__' CGNS.F90:(.text+0x7531): undefined reference to `cg_version_f__' CGNS.F90:(.text+0x7540): undefined reference to `cg_error_exit_f__' CGNS.F90:(.text+0x755b): undefined reference to `cg_nbases_f__' CGNS.F90:(.text+0x756a): undefined reference to `cg_error_exit_f__' CGNS.F90:(.text+0x75a9): undefined reference to `cg_base_read_f__' CGNS.F90:(.text+0x75b8): undefined reference to `cg_error_exit_f__' CGNS.F90:(.text+0x75e5): undefined reference to `cg_close_f__' CGNS.F90:(.text+0x75f4): undefined reference to `cg_error_exit_f__' /tmp/ccQAlLbf.o: In function `fogo_restart_MP_load_fogo_restart_file': FOGO_restart.f90:(.text+0x220): undefined reference to `cg_open_f__' FOGO_restart.f90:(.text+0x22f): undefined reference to `cg_error_exit_f__' FOGO_restart.f90:(.text+0x2cb): undefined reference to `cg_zone_read_f__' FOGO_restart.f90:(.text+0x2da): undefined reference to `cg_error_exit_f__' FOGO_restart.f90:(.text+0x344): undefined reference to `cg_sol_info_f__' FOGO_restart.f90:(.text+0x5a1): undefined reference to `cg_field_read_f__' FOGO_restart.f90:(.text+0x5b0): undefined reference to `cg_error_exit_f__' FOGO_restart.f90:(.text+0x900): undefined reference to `cg_field_read_f__' FOGO_restart.f90:(.text+0x90f): undefined reference to `cg_error_exit_f__' FOGO_restart.f90:(.text+0xc42): undefined reference to `cg_field_read_f__' FOGO_restart.f90:(.text+0xc51): undefined reference to `cg_error_exit_f__' FOGO_restart.f90:(.text+0xf90): undefined reference to `cg_field_read_f__' FOGO_restart.f90:(.text+0xf9f): undefined reference to `cg_error_exit_f__' FOGO_restart.f90:(.text+0x130b): undefined reference to `cg_field_read_f__' FOGO_restart.f90:(.text+0x131a): undefined reference to `cg_error_exit_f__' FOGO_restart.f90:(.text+0x1686): undefined reference to `cg_field_read_f__' FOGO_restart.f90:(.text+0x1695): undefined reference to `cg_error_exit_f__' FOGO_restart.f90:(.text+0x1a01): undefined reference to `cg_field_read_f__' FOGO_restart.f90:(.text+0x1a10): undefined reference to `cg_error_exit_f__' FOGO_restart.f90:(.text+0x1d7c): undefined reference to `cg_field_read_f__' FOGO_restart.f90:(.text+0x1d8b): undefined reference to `cg_error_exit_f__' FOGO_restart.f90:(.text+0x20f7): undefined reference to `cg_field_read_f__' FOGO_restart.f90:(.text+0x2106): undefined reference to `cg_error_exit_f__' FOGO_restart.f90:(.text+0x2472): undefined reference to `cg_field_read_f__' FOGO_restart.f90:(.text+0x2481): undefined reference to `cg_error_exit_f__' FOGO_restart.f90:(.text+0x27ed): undefined reference to `cg_field_read_f__' FOGO_restart.f90:(.text+0x27fc): undefined reference to `cg_error_exit_f__' FOGO_restart.f90:(.text+0x2b68): undefined reference to `cg_field_read_f__' FOGO_restart.f90:(.text+0x2b77): undefined reference to `cg_error_exit_f__' FOGO_restart.f90:(.text+0x2ead): undefined reference to `cg_field_read_f__' FOGO_restart.f90:(.text+0x2ebc): undefined reference to `cg_error_exit_f__' FOGO_restart.f90:(.text+0x3270): undefined reference to `cg_close_f__' FOGO_restart.f90:(.text+0x327f): undefined reference to `cg_error_exit_f__' /tmp/ccQAlLbf.o: In function `fogo_restart_MP_save_to_fogo_restart_file': FOGO_restart.f90:(.text+0x37ef): undefined reference to `cg_open_f__' FOGO_restart.f90:(.text+0x37fe): undefined reference to `cg_error_exit_f__' FOGO_restart.f90:(.text+0x391c): undefined reference to `cg_sol_write_f__' FOGO_restart.f90:(.text+0x392b): undefined reference to `cg_error_exit_f__' FOGO_restart.f90:(.text+0x398b): undefined reference to `cg_goto_f__' FOGO_restart.f90:(.text+0x399a): undefined reference to `cg_error_exit_f__' FOGO_restart.f90:(.text+0x3d57): undefined reference to `cg_field_write_f__' FOGO_restart.f90:(.text+0x3da0): undefined reference to `cg_error_exit_f__' FOGO_restart.f90:(.text+0x415e): undefined reference to `cg_field_write_f__' FOGO_restart.f90:(.text+0x41a7): undefined reference to `cg_error_exit_f__' FOGO_restart.f90:(.text+0x4565): undefined reference to `cg_field_write_f__' FOGO_restart.f90:(.text+0x45ae): undefined reference to `cg_error_exit_f__' FOGO_restart.f90:(.text+0x4999): undefined reference to `cg_field_write_f__' FOGO_restart.f90:(.text+0x49e2): undefined reference to `cg_error_exit_f__' FOGO_restart.f90:(.text+0x4de8): undefined reference to `cg_field_write_f__' FOGO_restart.f90:(.text+0x4e31): undefined reference to `cg_error_exit_f__' FOGO_restart.f90:(.text+0x5237): undefined reference to `cg_field_write_f__' FOGO_restart.f90:(.text+0x5280): undefined reference to `cg_error_exit_f__' FOGO_restart.f90:(.text+0x5686): undefined reference to `cg_field_write_f__' FOGO_restart.f90:(.text+0x56cf): undefined reference to `cg_error_exit_f__' FOGO_restart.f90:(.text+0x5ad5): undefined reference to `cg_field_write_f__' FOGO_restart.f90:(.text+0x5b1e): undefined reference to `cg_error_exit_f__' FOGO_restart.f90:(.text+0x5f24): undefined reference to `cg_field_write_f__' FOGO_restart.f90:(.text+0x5f6d): undefined reference to `cg_error_exit_f__' FOGO_restart.f90:(.text+0x6373): undefined reference to `cg_field_write_f__' FOGO_restart.f90:(.text+0x63bc): undefined reference to `cg_error_exit_f__' FOGO_restart.f90:(.text+0x67c2): undefined reference to `cg_field_write_f__' FOGO_restart.f90:(.text+0x680b): undefined reference to `cg_error_exit_f__' FOGO_restart.f90:(.text+0x6c11): undefined reference to `cg_field_write_f__' FOGO_restart.f90:(.text+0x6c5a): undefined reference to `cg_error_exit_f__' FOGO_restart.f90:(.text+0x7060): undefined reference to `cg_field_write_f__' FOGO_restart.f90:(.text+0x70a9): undefined reference to `cg_error_exit_f__' FOGO_restart.f90:(.text+0x74af): undefined reference to `cg_field_write_f__' FOGO_restart.f90:(.text+0x74f8): undefined reference to `cg_error_exit_f__' FOGO_restart.f90:(.text+0x78fe): undefined reference to `cg_field_write_f__' FOGO_restart.f90:(.text+0x7947): undefined reference to `cg_error_exit_f__' FOGO_restart.f90:(.text+0x7d4d): undefined reference to `cg_field_write_f__' FOGO_restart.f90:(.text+0x7d96): undefined reference to `cg_error_exit_f__' FOGO_restart.f90:(.text+0x819c): undefined reference to `cg_field_write_f__' FOGO_restart.f90:(.text+0x81e5): undefined reference to `cg_error_exit_f__' FOGO_restart.f90:(.text+0x85eb): undefined reference to `cg_field_write_f__' FOGO_restart.f90:(.text+0x8634): undefined reference to `cg_error_exit_f__' FOGO_restart.f90:(.text+0x8a3a): undefined reference to `cg_field_write_f__' FOGO_restart.f90:(.text+0x8a83): undefined reference to `cg_error_exit_f__' FOGO_restart.f90:(.text+0x8e89): undefined reference to `cg_field_write_f__' FOGO_restart.f90:(.text+0x8ed2): undefined reference to `cg_error_exit_f__' FOGO_restart.f90:(.text+0x92d8): undefined reference to `cg_field_write_f__' FOGO_restart.f90:(.text+0x9321): undefined reference to `cg_error_exit_f__' FOGO_restart.f90:(.text+0x9354): undefined reference to `cg_close_f__' FOGO_restart.f90:(.text+0x9363): undefined reference to `cg_error_exit_f__' /tmp/ccQAlLbf.o: In function `fogo_restart_MP_create_restart_file': FOGO_restart.f90:(.text+0x954a): undefined reference to `cg_open_f__' FOGO_restart.f90:(.text+0x9559): undefined reference to `cg_error_exit_f__' FOGO_restart.f90:(.text+0x95af): undefined reference to `cg_base_write_f__' FOGO_restart.f90:(.text+0x95be): undefined reference to `cg_error_exit_f__' FOGO_restart.f90:(.text+0x9804): undefined reference to `cg_zone_write_f__' FOGO_restart.f90:(.text+0x9813): undefined reference to `cg_error_exit_f__' FOGO_restart.f90:(.text+0x9bc8): undefined reference to `cg_coord_write_f__' FOGO_restart.f90:(.text+0x9c11): undefined reference to `cg_error_exit_f__' FOGO_restart.f90:(.text+0x9fc9): undefined reference to `cg_coord_write_f__' FOGO_restart.f90:(.text+0xa012): undefined reference to `cg_error_exit_f__' FOGO_restart.f90:(.text+0xa3ce): undefined reference to `cg_coord_write_f__' FOGO_restart.f90:(.text+0xa417): undefined reference to `cg_error_exit_f__' FOGO_restart.f90:(.text+0xa442): undefined reference to `cg_close_f__' FOGO_restart.f90:(.text+0xa451): undefined reference to `cg_error_exit_f__'


Markus Lummer January 30, 2007 01:34

Re: G95 + CGNS
 
Try to use g95 -fno-second-underscore

Hope, this helps.

Regards, Markus


All times are GMT -4. The time now is 21:19.