"[root@localhost parallel_studio_xe_2019.5.075]# source psxevars.sh
Intel(R) Parallel Studio XE 2019 Update 4 for Linux*
Copyright (C) 2009-2019 Intel Corporation. All rights reserved.
[root@localhost parallel_studio_xe_2019.5.075]# ifort -fast /opt/intel/parallel_studio_xe_2019.5.075/hgropelli260820191035_beta01.f90
/opt/intel/parallel_studio_xe_2019.5.075/hgropelli260820191035_beta01.f90(4529): warning #5462: Global name too long, shortened from: granular_sphere_in_given_fluid_flow_classcompute_granular_sphere_igff_environment_forces_mp_COMPUTE_LOCAL_FLUID_VELOCITY to: d_flow_classcompute_granular_sphere_igff_environment_forces_mp_COMPUTE_LOCAL_FLUID_VELOCITY
ld: cannot find -lm
ld: cannot find -lc
ld: cannot find -ldl
ld: cannot find -lc"
i dont have ideia what is happenning, im running on centos7.
Well I didn't understand what you have meant by link and compile command. I have tested the same code on widows with equivalent of -fast and executed normally. And in this system, centos, I had no problems executing optimizations -ofast and -msse4.2.