Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29249 Discussions

ifort: Command line warning: no action performed for specified file(s)

bnduncan
Beginner
834 Views
I've compiled my code under RedHat Linux and IFC V8. All my .o files are created, but I'm getting the following error when the executable is under creation:

ifort: Command line warning: no action performed for specified file(s)

and no executable is created. I get no other warning messages or errors. Can you offer advice on how to diagnose this problem???

Thanks
0 Kudos
4 Replies
Steven_L_Intel1
Employee
834 Views
What is the ifort command line you are using?
0 Kudos
bnduncan
Beginner
834 Views
Here is the command line and error when I try to create the executable:

ifort -cpp -w -c -O2 -Vaxlib -auto -noalign bpch2_mod.o diag_mod.o dao_mod.o time_mod.o biofuel_mod.o biomass_mod.o comode_mod.o dao_read_mod.o geia_mod.o global_oh_mod.o tagged_co_mod.o wetscav_mod.o CO_strat_pl.o TRBDIF.o VTRI0.o airemiss.o airmas.o alloc_err.o anthroems.o arsl1k.o backsub.o biofit.o boxvl.o calcrate.o check_stt.o chem.o chemRnPbBe.o chemch3i.o chemdr.o chemhcn.o chemo3.o chemset.o cleanup.o close_files.o cntmat.o compute_f.o compute_l2g.o convert_units.o copytxt.o cosa.o cosc.o cossza.o cstrip.o decomp.o depvel.o diag1.o diag20.o diag3.o diag41.o diag48.o diag49.o diag5.o diag50.o diag51.o diag7.o diag_2pm.o diag_flux.o diagoh.o diagpl.o diffg.o diffuse.o drydep.o drydepRnPbBe.o drydep_setup.o dryflx.o dryflxRnPbBe.o e_ice.o emf_scale.o emfossil.o emisop.o emissRnPbBe.o emissch3i.o emissdr.o emisshcn.o emlightning.o emmonot.o faltbl.o fct3d.o fertadd.o filew.o fillfields.o fillstr.o filns.o findmon.o flashes.o fxppm.o fyppm.o fyrno3.o fzppm.o getalt.o getifsun.o getprt.o hilo.o hilo3D.o hpsort_int.o humeff.o hunt.o ijpch.o ijscal.o ijscal_2pm.o init_scav.o initgas.o initialize.o inito3.o inptr.o input.o ioerror.o jsparse.o lightdist.o lightning.o lmtppm.o lump.o make_restart_file.o make_rh.o metero.o modin.o ndxx_setup.o nfcldmx.o o3comp.o ohsave.o open_ch3i_files.o open_files.o optdepth.o paftop.o paftop2.o partition.o pderiv.o physproc.o plsave.o precipfrac.o pulsing.o qckxyz.o rainout.o ratcons.o rdaerosol.o rddrycf.o rdisopt.o rdlai.o rdland.o rdlight.o rdmonot.o rdsoil.o rdust.o read49.o read_restart_file.o read_tindex.o read_tropopause.o read_uvalbedo.o readair.o reader.o readfields.o readlai.o ruralbox.o schem.o setbase.o setcloud.o setemdep.o setemis.o setjfam.o setmodel.o setnfam.o setpl.o settrace.o setup.o sfcwindsqr.o slq.o smvgear.o soilbase.o soilcrf.o soilnoxems.o soiltemp.o soiltype.o subfun.o sunparam.o tcorr.o tpcore.o main.o trace0.o tracerid.o tranuc.o tropopause.o turbday.o txt2inum.o txtext.o upbdflx_noy.o upbdflx_o3.o washout.o wetdep.o write20.o write49.o xadv.o xltmmp.o xmist.o xtp.o ymist.o ytp.o linux_err.o AerosolOH.o CO_budget.o CO_decay.o CO_fillfields.o CO_fromHCs.o CO_ohsave.o CO_readfields.o CO_readfields2.o CO_strat.o OHparam.o avgavgw.o avgrefl.o avgtp.o calc_oh.o chemco.o clean.o cleanisop.o donefunctions01.o donefunctions02.o donefunctions03.o donefunctions04.o donefunctions05.o donefunctions06.o donefunctions07.o donefunctions08.o donefunctions09.o donefunctions10.o donefunctions11.o donefunctions12.o donefunctions13.o donefunctions14.o donefunctions15.o donefunctions16.o donefunctions17.o donefunctions18.o donefunctions19.o donefunctions20.o donefunctions21.o donefunctions22.o donefunctions23.o donefunctions24.o donefunctions25.o donefunctions26.o donefunctions27.o donefunctions28.o donefunctions29.o donefunctions30.o donefunctions31.o donefunctions32.o donefunctions33.o donefunctions34.o donefunctions35.o donefunctions36.o emissco.o func_ifs.o get_refl.o getinfo.o getoh.o hipolluted.o interpOH.o correctOH.o correctOH2.o modpolluted.o paramA.o paramB.o paramC.o paramD.o paramE.o paramF.o polint.o read_COPminusL.o read_O3clim.o read_TOMSO3.o read_coeff.o read_dustrat.o readavgOH.o readavgOH2.o read_correction.o readOH94.o remote.o skip.o sumup.o findxsect.o funbas.o funo1dham2.o gettoto3.o jvaluein.o jvalueinhcn.o matinv.o numair.o numo3.o readcs.o readcshcn.o rtfunc.o scattr.o sol.o -o geosco
ifort: Command line warning: no action performed for specified file(s)
0 Kudos
Steven_L_Intel1
Employee
834 Views
You've specified, as far as I can tell, all object files, yet told the compiler not to invoke the linker (-c). What did you expect it to do?
0 Kudos
Steven_L_Intel1
Employee
834 Views
Remove the -c. That tells ifort to compile only and not link.
0 Kudos
Reply