first go the dir where you downloaded gmsh and execute

./gmsh

then read the bash manual


Sent from my Samsung device


-------- Original message --------
From: Dan Brunner <[email protected]>
Date: 10/10/2015 1:35 PM (GMT-03:00)
To: [email protected]
Subject: [Gmsh] Cannot run gmsh from command line for FiPy but can use GUI

I've tried to install gmsh in my local area on our lab's Red Hat Linux server 
(note that I do not have admin privileges, so I cannot sudo or modify things in 
/usr/bin) by:

> wget http://www.geuz.org/gmsh/bin/Linux/gmsh-2.10.1-Linux64.tgz
> tar -xzvf gmsh-2.10.1-Linux64.tgz

The gmsh GUI will run if I double-click on the icon in a folder. This is of 
minimal utility for me because I plan on scripting analysis.

But it will not run from the command line:

> cd gmsh-2.10.1-Linux/bin/
> gmsh
-bash: gmsh: command not found

Also, FiPy--the application I ultimately plan on using the meshes--can not find 
gmsh (I've shortened the output with ... for readability):

> ipython
...
In [1]: from fipy import *
In [2]: mesh=Gmsh2D('''cellSize=0.05,radius=1.0''')
...
EnvironmentError: Gmsh version must be >= 2.0.

Help in resolving this would be greatly appreciated.

~Dan

________________________________
Imprima este mensaje sólo si es absolutamente necesario.
Para imprimir, en lo posible utilice el papel de ambos lados.
El Grupo Sancor Seguros se compromete con el cuidado del medioambiente.



************AVISO DE CONFIDENCIALIDAD************

El Grupo Sancor Seguros comunica que:

Este mensaje y todos los archivos adjuntos a el son para uso exclusivo del 
destinatario y pueden contener información confidencial o propietaria, cuya 
divulgación es sancionada por ley. Si usted recibió este mensaje erróneamente, 
por favor notifíquenos respondiendo al remitente, borre el mensaje original y 
destruya las copias (impresas o grabadas en cualquier medio magnético) que 
pueda haber realizado del mismo. Todas las opiniones contenidas en este mail 
son propias del autor del mensaje. La publicación, uso, copia o impresión total 
o parcial de este mensaje o documentos adjuntos queda prohibida.

Disposición DNDP 10-2008. El titular de los datos personales tiene la facultad 
de ejercer el derecho de acceso a los mismos en forma gratuita a intervalos no 
inferiores a seis meses, salvo que acredite un interés legítimo al efecto 
conforme lo establecido en el artículo 14, inciso 3 de la Ley 25.326. La 
DIRECCIÓN NACIONAL DE PROTECCIÓN DE DATOS PERSONALES, Organo de Control de la 
Ley 25.326, tiene la atribución de atender las denuncias y reclamos que se 
interpongan con relación al incumplimiento de las normas sobre la protección de 
datos personales.
_______________________________________________
gmsh mailing list
[email protected]
http://www.geuz.org/mailman/listinfo/gmsh

Reply via email to