Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1863 connectés 

  FORUM HardWare.fr
  Apple
  Applications

  unix mac mopac

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

unix mac mopac

n°404175
phaalene
Posté le 04-11-2012 à 20:12:01  profilanswer
 

Bonjour à tous!
Je vous explique mon soucis!  
Je souhaite installer MOPAC2012 sur mon Mac OSX snow leopard 64bit
Le site de téléchargement stipule que la version mac du soft est disponible.
Après télechargement cependant on a accès a un MOPAC2012.exe
Les instructions pour l'installation sont les suivantes:
 
Installation instructions for Macintosh
 
If you have an Academic license, and it has expired, then:
 
1. Download a new executable from: http://openmopac.net/Download_MOPA [...] Step2.html
 
2. Replace the old executable with the new one.
 
If you are a first-time user of MOPAC2012, then:
 
 
1. Create a directory called "/opt/mopac/" and give it privileges "rwxrwxrwx",  
    i.e. run the command: "chmod 777 mopac"  You will need superuser  
    privileges to do this.  If you can't use /opt/mopac, then set
    define the location of the license key as shown below.
 
2. Download the Macintosh MOPAC2012 executable, and put it in the directory  
    "/opt/mopac/"  
   
3. Add the following line to your .profile start-up script: "alias  
    mopac='/opt/mopac/MOPAC2012.exe'"  
 
4. Run the start-up script, that is, run the command: "source ~/.profile"  This  
    will activate the alias.  
 
5. A password will be sent to the E-mail address you provided on the previous  
    page.  It should arrive within 48 hours.  If it does not arrive then, please  
    contact: MrMOPAC@OpenMOPAC.net.  
 
6. Create a directory that will be used for running MOPAC jobs.  
 
7. At the command level, run the command: mopac <password>
    The first time MOPAC is run, it will read the password and run a question-  
    and-answer dialogue.  When that is completed, the password is installed.  
 
8. Run MOPAC using data sets that have the names <file>.mop, <file>.dat, or  
    <file>.arc.  E.g. run the command "mopac test" to run the data set  
    "test.mop", or "mopac test.arc" to run the data set "test.arc"
 
 
               Setting the Location of the License Key
 
 
By default, the MOPAC executable should be put in the subdirectory /opt/mopac.  
If necessary, the executable can be put somewhere else.  If that is done, then  
the location of the folder that contains the MOPAC2012 license key must be defined  
using the environmental variable MOPAC_LICENSE.  
 
If MOPAC_LICENSE is not defined, then MOPAC behaves as if  
it was defined as "/opt/mopac/"  (Note that the terminal slash is necessary for  
the environmental variable to work.)  
 
 
 
 Edit .cshrc or .bashrc to add the line: MOPAC_LICENSE=/home/mydirectory/
 
A re-boot might be necessary in order for the environmental variable to be recognized.
 
 
 
 
 
 
Je ne m'en sors pas je crois avec les instructions suivantes:
 
3. Add the following line to your .profile start-up script: "alias  
    mopac='/opt/mopac/MOPAC2012.exe'"  
 
4. Run the start-up script, that is, run the command: "source ~/.profile"  This  
    will activate the alias.  
 
 
car lorsque je fais:
7. At the command level, run the command: mopac <password>
 
rien ne se passe
j'ai ca a la place:
-bash: syntax error near unexpected token `newline'
 
quelqu'un a une idée??
 
merci!

mood
Publicité
Posté le 04-11-2012 à 20:12:01  profilanswer
 

n°404176
o'gure
Multi grognon de B_L
Posté le 04-11-2012 à 22:28:40  profilanswer
 

Ce sujet a été déplacé de la catégorie OS Alternatifs vers la categorie Apple par O'gure


---------------
Relax. Take a deep breath !

Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Apple
  Applications

  unix mac mopac

 

Sujets relatifs
Plus de sujets relatifs à : unix mac mopac


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR