Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29280 Discussions

Fortran compiler and linker error for abaqus2020

imamtant
Beginner
476 Views

I want to compile, and then verify my fortran code to use in aabaqus simulation. but there is an error. this is the error msg:

Analysis initiated from SIMULIA established products
Abaqus JOB std_user
Abaqus 2020
Abaqus License Manager checked out the following licenses:
Abaqus/Standard checked out 5 tokens from Flexnet server imamtant.
<1019 out of 1024 licenses remain available>.
Begin Compiling Abaqus/Standard User Subroutines
11/11/2024 4:17:38 PM
Intel(R) Fortran Intel(R) 64 Compiler Classic for applications running on Intel(R) 64, Version 2021.12.0 Build 20240222_000000
Copyright (C) 1985-2024 Intel Corporation. All rights reserved.

Microsoft (R) Incremental Linker Version 14.41.34123.0
Copyright (C) Microsoft Corporation. All rights reserved.

-out:std_user.exe
-debug
-pdb:std_user.pdb
-subsystem:console
-libpath:C:\PROGRA~2\Intel\oneAPI\compiler\2024.1\bin\..\mkl\latest\lib
std_user.obj
libifcoremt.lib(for_main.obj) : error LNK2019: unresolved external symbol MAIN__ referenced in function main
std_user.exe : fatal error LNK1120: 1 unresolved externals
Abaqus Error: Problem during compilation - std_user.for
Abaqus/Analysis exited with errors
Please help, what should I do to solving this problem.

For other Information, software that I use:
vs2022
ONEAPI2024.1
window system: x86_64

0 Kudos
0 Replies
Reply