- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i made a source file... so i am trying to compile but when i use on the command bar ifort XXX.f90 i recived "command ifort not found".
i tried to compile on "eclipse phortran" too but i recived a error that say binary not found
what can i do?
sorry my English.
/opt/intel/fc/10.1.015/bin/ifort -V
Intel Fortran Compiler for applications running on IA-32, Version 10.1 Build 20080312 Package ID: l_fc_p_10.1.015
Copyright (C) 1985-2008 Intel Corporation. All rights reserved.
FOR NON-COMMERCIAL USE ONLY
env
GPG_AGENT_INFO=/tmp/seahorse-3VZk5W/S.gpg-agent:5568:1
SHELL=/bin/bash
DESKTOP_STARTUP_ID=
TERM=xterm
XDG_SESSION_COOKIE=a12151c6d1fc708eebf6eb0048a2ff1f-1218828067.374191-1552727867
GTK_RC_FILES=/etc/gtk/gtkrc:/home/andres/.gtkrc-1.2-gnome2
WINDOWID=35651663
USER=andres
LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.svgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:
SSH_AUTH_SOCK=/tmp/keyring-4ukGPu/ssh
GNOME_KEYRING_SOCKET=/tmp/keyring-4ukGPu/socket
SESSION_MANAGER=local/andres:/tmp/.ICE-unix/5488
USERNAME=andres
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
DESKTOP_SESSION=default
GDM_XSERVER_LOCATION=local
PWD=/home/andres
LANG=es_CO.UTF-8
GNOME_KEYRING_PID=5487
GDM_LANG=es_CO.UTF-8
GDMSESSION=default
HISTCONTROL=ignoreboth
SHLVL=1
HOME=/home/andres
GNOME_DESKTOP_SESSION_ID=Default
LOGNAME=andres
XDG_DATA_DIRS=/usr/local/share/:/usr/share/:/usr/share/gdm/
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-pCI32xXYgc,guid=1c7a514b8196fddbae87b6ab48a5d725
LESSOPEN=| /usr/bin/lesspipe %s
WINDOWPATH=7
DISPLAY=:0.0
LESSCLOSE=/usr/bin/lesspipe %s %s
COLORTERM=gnome-terminal
XAUTHORITY=/home/andres/.Xauthority
OLDPWD=/home/andres/Escritorio
_=/usr/bin/env
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You need to "source" the appropriate ifort setup script for your working shell (either ifortvars.sh or ifortvars.csh) from /opt/intel/fc/10.1.015/bin to setup your environment properly to use the compiler via the command-line.
That may be needed before you launch eclipse too, I don't really know since I've never used that environment.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
source /opt/intel/fc/10.1.015/bin/ifortvars.csh
/opt/intel/fc/10.1.015/bin/ifortvars.csh: line 5: error de sintaxis cerca de token no esperado `else'
eclipse...still without work...what other (ide) can u recommend me...i am new at this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The env dump in your initial post indicates your working under SHELL=/bin/bash, therefore, you should only source the ifortvars.sh file and not ifortvars.csh. You only need to source the file once to setup your environment. Perhaps you started another shell tcsh/csh shell, or maybe you edited the file, I don't know what caused the error exactly.
You might want to consult the Getting_Started.htm under /opt/intel/fc/10.1.015/doc.
There is no IDE available for Linux, sorry.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page