-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"feconv" error #4
Comments
Hi,
depending on your shell configuration file, the OS could require that you
run ./feconv instad of feconv.
Best,
Francisco Pena
El dom., 24 feb. 2019 a las 21:49, fkoushan (<[email protected]>)
escribió:
… Hello,
I am trying to use feconv to change my mesh file format from .msh to .unv.
But after unzipping the directory, and running the make command in my mac,
( make -f Makefile.gfortran.osx-10.11-elcapitan), I get the following error
every time I try feconv command:
$ feconv -gm examples/dt5.msh dt5.unv
-bash: feconv: command not found
even though "feconv" is generated in my directory after "make" command is
run.
Any ideas what could have gone wrong in this process?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#4>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGLNbVquGtT1hvK2BIfcoJdex08V_IKOks5vQvrcgaJpZM4bOwrM>
.
--
Francisco José Pena Brage
Departamento de Matemática Aplicada
Facultade de Matemáticas. Campus Vida
15782 Santiago de Compostela - Spain
Tel.: +34 8818 13194
Fax: +34 8818 13197
Email: fran(dot)pena(at)usc(dot)es
*http://www.usc.es/ingmat <http://www.usc.es/ingmat>*
<[email protected]>
|
Hello Francisco, Foroozans-MBP:FEconv-master foroozankoushan$ ./feconv -h Is the library that is being referred to supposed to be loaded during "make" command run? |
Hi,
you have to include the path to the library in the variable
DYLD_LIBRARY_PATH. That is, write something like
export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:<path-to-lib>
where <path-to-lib> is the path to the lib/ folder inside feconv.
Best,
Francisco
El lun., 25 feb. 2019 a las 15:44, fkoushan (<[email protected]>)
escribió:
… Hello Francisco,
Thanks for your reply - I did try ./feconv command as well. and here is
the error I get:
Foroozans-MBP:FEconv-master foroozankoushan$ ./feconv -h
dyld: Library not loaded: libbasicmod.dylib
Reason: image not found
Abort trap: 6
Is the library that is being referred to supposed to be loaded during
"make" command run?
Thanks,
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#4 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGLNbYrmcTSg4cybSaTE4NHRLHJFTN3Bks5vQ_bCgaJpZM4bOwrM>
.
|
Hello, then tested it with: and got the same error message as before: Thanks, |
Hi,
The problem is how to find a dynamic library in OS X. I cannot make a test
in that platform at this moment. To redefine the variable DYLD_LIBRARY_PATH
was the suitable way to do it that I found in the specialized forums.
Please, check whether you are using OS X 10.11 El Capitan, the OS X version
where I tested it.
Best,
El mié., 27 feb. 2019 a las 7:29, fkoushan (<[email protected]>)
escribió:
… Hello,
Could I type the address to the library as I am inside the feconv
directory, or do I need to be somewhere else?
I typed the following command line when inside the feconv-master directory:
Foroozans-MBP:FEconv-master foroozankoushan$ export
DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:/Users/foroozankoushan/Documents/FEconv-master/lib
then tested it with:
./feconv -h
and got the same error message as before:
Foroozans-MBP:FEconv-master foroozankoushan$ ./feconv -h
dyld: Library not loaded: libbasicmod.dylib
Referenced from:
/Users/foroozankoushan/Documents/UCSC/PhD_dissertation/FEconv-master/./feconv
Reason: image not found
Abort trap: 6
Thanks,
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#4 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGLNba0qYIgqdgkiShP0bgtu29bkVHPIks5vRiW4gaJpZM4bOwrM>
.
|
@fkoushan @fran-pena I had the same error. It is actually NOT recommended to change the DYLD_LIBRARY_PATH variable. An alternative is this: The libbasicmod library is situated in the basicmod/lib folder. Move to the FEconv-master folder in the terminal. In order to include this library when running for feconv, you can simply check, where it is searched for at the moment by:
The first line gives an indication to where the build thinks this library is. Change that using
Now you are ready to |
Hello,
I am trying to use feconv to change my mesh file format from .msh to .unv.
But after unzipping the directory, and running the make command in my mac, ( make -f Makefile.gfortran.osx-10.11-elcapitan), I get the following error every time I try feconv command:
$ feconv -gm examples/dt5.msh dt5.unv
-bash: feconv: command not found
even though "feconv" is generated in my directory after "make" command is run.
Any ideas what could have gone wrong in this process?
The text was updated successfully, but these errors were encountered: