IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Linux Discussion :

compiler le jobcomp


Sujet :

Linux

  1. #1
    Membre averti
    Femme Profil pro
    Étudiant
    Inscrit en
    Septembre 2013
    Messages
    26
    Détails du profil
    Informations personnelles :
    Sexe : Femme
    Localisation : Bahamas

    Informations professionnelles :
    Activité : Étudiant
    Secteur : Aéronautique - Marine - Espace - Armement

    Informations forums :
    Inscription : Septembre 2013
    Messages : 26
    Par défaut compiler le jobcomp
    Bonsoir les amis!!!!

    Permettez mon langage si je n'utilise pas les bonnes expression de linux car je suis nouvelle dans ce système d'exploitation.

    En fait, j'essaye de complier le "jobcomp" (puisque je suis entrain de faire un modèle avec ROMS)

    cela me revoit l'erreur: bash: ./jobcomp: Permission denied
    même quan bien même je me mets en root ce la revoit la même erreur:

    [root@localhost Run]# ./jobcomp
    bash: ./jobcomp: Permission denied

    je ne sais quoi faire!!!!!!!!

    Merci d'avance


    j'ai un Fedora 20
    matlab 12 a

  2. #2
    Invité
    Invité(e)
    Par défaut
    Salut,

    Peux-tu que tu n'as tout simplement pas le droits d'execution sur ce script.

    Pour le savoir

    C'est le fichier n'est pas executable, tu devras modifier les permissions


  3. #3
    Membre averti
    Femme Profil pro
    Étudiant
    Inscrit en
    Septembre 2013
    Messages
    26
    Détails du profil
    Informations personnelles :
    Sexe : Femme
    Localisation : Bahamas

    Informations professionnelles :
    Activité : Étudiant
    Secteur : Aéronautique - Marine - Espace - Armement

    Informations forums :
    Inscription : Septembre 2013
    Messages : 26
    Par défaut
    Bonjour
    merci d'abord pour ta reponse.
    J'ai exécuté le script voila::

    [taka@localhost Run]$ -rw-rw-r--. 1 taka taka 8383 Mar 13 10:21 ./jobcomp
    [taka@localhost Run]$ su
    Password:
    [root@localhost Run]#-rw-rw-r--. 1 taka taka 8383 Mar 13 10:21 ./jobcomp
    [root@localhost Run]#

    Questions:
    - ai-je donc la permission sur ce fichier jobcomp?
    -Si non, ou dois-je exécuter le script ? c'est dans 'taka@localhost'' ou "root@localhost" (ie en mode root ou pas).

    merci

  4. #4
    Invité
    Invité(e)
    Par défaut
    Tu n'as pas le droit d'execution sur ce fichier d'après ce que je vois. Tu devras donc ajouter cette permission.

    Pour la compilation, être root ne devrait en principe pas être nécessaire. Reste à voir dans la doc de ton soft si l'installation a besoin des droits root.

  5. #5
    Membre averti
    Femme Profil pro
    Étudiant
    Inscrit en
    Septembre 2013
    Messages
    26
    Détails du profil
    Informations personnelles :
    Sexe : Femme
    Localisation : Bahamas

    Informations professionnelles :
    Activité : Étudiant
    Secteur : Aéronautique - Marine - Espace - Armement

    Informations forums :
    Inscription : Septembre 2013
    Messages : 26
    Par défaut
    Bonsoir,
    j'ai exécuté le script et voila.


    [taka@localhost Run]$ -rwxrw-r--. 1 taka taka 8383 Mar 13 10:21 ./jobcomp

    [taka@localhost Run]$ jobcomp: Tenex C shell script, ASCII text executable, with very long lines

    et enfin

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    [taka@localhost Run]$ bash: ./jobcomp: /bin/tcsh: bad interpreter: No such file or directory
    .

    cela ne s'exécute pas.

    Que faire?

    mERCI

  6. #6
    Invité
    Invité(e)
    Par défaut
    Re,

    il semble s'agir d'un script qui utilise le shell tcsh. il faudra donc t'assurer que ce shell est bien installé sur ton système.

    Pour vérifier les shells disponibles
    Vérification du package tcsh

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
     
    rpm -qa | grep -i tcsh
    si aucun résultat, il faudra l'installer

    yum aura besoin d'un accès internet pour pouvoir rapatrier le package.

  7. #7
    Membre averti
    Femme Profil pro
    Étudiant
    Inscrit en
    Septembre 2013
    Messages
    26
    Détails du profil
    Informations personnelles :
    Sexe : Femme
    Localisation : Bahamas

    Informations professionnelles :
    Activité : Étudiant
    Secteur : Aéronautique - Marine - Espace - Armement

    Informations forums :
    Inscription : Septembre 2013
    Messages : 26
    Par défaut
    Merci pour ta disponibilité et ta rapidité.
    J'ai exécuté chacune de ces commandes dans l'ordre et le Package tcsh fut intallé. Merci!!!

    cependant j'ai un soucis quand j'exécute le jobcomp voila

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    OPERATING SYSTEM IS: Linux
    PROCESSOR IS: x86_64
      file namelist.trc.sms copied from source directory
    /bin/cp: No match.
    /bin/cp: No match.
    /bin/rm -rf core *.o AGRIF/AGRIF_YOURFILES/*.o *.i *.s *.f *.trace *.mod 
    /bin/rm -rf roms mpc cross_matrix cppcheck srcscheck checkkwds partit ncjoin ncrename ./rii_files
    cpp -traditional -DLinux -DIfort -P -I../netcdf_x86_64 -IROMSFILES/AGRIF_INC mpc.F > mpc_.f
    ifort -O3 -w90 -w95 -cm -72 -fno-alias -i4 -r8 -fp-model precise  -o mpc mpc_.f
    make: ifort: Command not found
    make: *** [mpc] Error 127
    cpp -traditional -DLinux -DIfort -P -I../netcdf_x86_64 -IROMSFILES/AGRIF_INC main.F | ./mpc > main_.f
    /bin/sh: ./mpc: No such file or directory
    make: *** [main.o] Error 127
    mv: cannot stat ‘roms’: No such file or directory

    Je sais qu'il ya un mélange d'erreur du langage matlab et celui de linux/fedora mais indique moi celui de linux/fedora que je devrai resoudre.


    Merci encore

  8. #8
    Invité
    Invité(e)
    Par défaut
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    ifort -O3 -w90 -w95 -cm -72 -fno-alias -i4 -r8 -fp-model precise  -o mpc mpc_.f
    make: ifort: Command not found
    make: *** [mpc] Error 127
    Il faut installer le compilateur fortran....

  9. #9
    Membre averti
    Femme Profil pro
    Étudiant
    Inscrit en
    Septembre 2013
    Messages
    26
    Détails du profil
    Informations personnelles :
    Sexe : Femme
    Localisation : Bahamas

    Informations professionnelles :
    Activité : Étudiant
    Secteur : Aéronautique - Marine - Espace - Armement

    Informations forums :
    Inscription : Septembre 2013
    Messages : 26
    Par défaut
    Merci pour ta promt reaction!!!

    -Je suis un peu confuse car j'ai déjà installé ifort du site même; et, cela m'a dit que cela a été faite avec succès donc........
    et, svp le massge , n'est til pas celui d'un défaut de mon syste Fedora? (en d'autres termes No match veut dire qu'il ne trouve pas ...;/bin/cp?)
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    /bin/cp: No match.
    /bin/cp: No match
    .

    Je ne sais quoi faire maintenant

    Merci

  10. #10
    Membre averti
    Femme Profil pro
    Étudiant
    Inscrit en
    Septembre 2013
    Messages
    26
    Détails du profil
    Informations personnelles :
    Sexe : Femme
    Localisation : Bahamas

    Informations professionnelles :
    Activité : Étudiant
    Secteur : Aéronautique - Marine - Espace - Armement

    Informations forums :
    Inscription : Septembre 2013
    Messages : 26
    Par défaut
    Bonsoir
    je ne savais pas qu'il yavait des librairies à installer; au niveau de voila


    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    [taka@localhost hdf5-1.8.12]$ ./configure --prefix=/usr/local --enable-fortran --enable-fortran2003 --enable-cxx --enable-unsupported --with-zlib=/usr/local/include,/usr/local/lib --with-slib=/usr/local --enable-production
    configure: WARNING: unrecognized options: --with-slib
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking whether make supports nested variables... yes
    checking whether to enable maintainer-specific portions of Makefiles... no
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking shell variables initial values... done
    checking if basename works... yes
    checking if xargs works... yes
    checking for cached host... none
    checking for config x86_64-unknown-linux-gnu... no
    checking for config x86_64-unknown-linux-gnu... no
    checking for config unknown-linux-gnu... no
    checking for config unknown-linux-gnu... no
    checking for config x86_64-linux-gnu... no
    checking for config x86_64-linux-gnu... no
    checking for config x86_64-unknown... no
    checking for config linux-gnu... found
    compiler 'gcc' is GNU gcc-4.8.2
    CC_BASENAME is gcc.
    checking for config ./config/site-specific/host-localhost.localdomain... no
    checking for config ./config/site-specific/host-localdomain... no
    checking for gcc... gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables... 
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking for style of include used by make... GNU
    checking dependency style of gcc... gcc3
    checking if unsupported combinations of configure options are allowed... yes
    checking if Fortran interface enabled... yes
    checking if Fortran 2003 interface enabled... yes
    checking whether we are using the GNU Fortran compiler... no
    checking whether ifort accepts -g... no
    checking for Fortran flag to compile .f90 files... unknown
    configure: error: Fortran could not compile .f90 files

    que faire?

  11. #11
    Membre averti
    Femme Profil pro
    Étudiant
    Inscrit en
    Septembre 2013
    Messages
    26
    Détails du profil
    Informations personnelles :
    Sexe : Femme
    Localisation : Bahamas

    Informations professionnelles :
    Activité : Étudiant
    Secteur : Aéronautique - Marine - Espace - Armement

    Informations forums :
    Inscription : Septembre 2013
    Messages : 26
    Par défaut
    dÉSOLÉ C'EST AU NIVEAU DE LA CONFIGURATION( NOTÉE EN BAS) QUE J'AI L'ERREUR CIDESSUS
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
     
    ./configure --prefix=/usr/local --enable-fortran --enable-fortran2003 --enable-cxx --enable—unsupported --with-zlib=/usr/local/include,/usr/local/lib --with-slib=/usr/local --enable-production

    MERCI

Discussions similaires

  1. [Installation] Borland Compiler 5.5 sous XP
    Par Ligey dans le forum Autres éditeurs
    Réponses: 16
    Dernier message: 28/09/2002, 22h45
  2. dans le fond, la compilation...
    Par deltapositive dans le forum C++Builder
    Réponses: 5
    Dernier message: 17/09/2002, 12h14
  3. Vitesse de compilation
    Par srvremi dans le forum C++Builder
    Réponses: 5
    Dernier message: 30/07/2002, 16h49
  4. Réponses: 1
    Dernier message: 27/05/2002, 01h44

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo