|
[Sponsors] |
How to change the $(FOAM_USER_LIBBIN) to other path? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 6, 2019, 03:52 |
How to change the $(FOAM_USER_LIBBIN) to other path?
|
#1 |
Member
Jiadong Wang
Join Date: Mar 2018
Location: Australia
Posts: 32
Rep Power: 8 |
Hello Foamers,
Usually I compiled a modified library in my PC by changing the /Make/files to: Code:
LIB = $(FOAM_USER_LIBBIN)/libNew00 Now I’m working on an HPC cluster and don’t have the permission to build a directory in /Home folder. Every single user has a personal directory, e.g. /Roy11 on other directory. So if I want to compile a new library on this personal directory (/Roy11) of HPC cluster, how should I define the ‘LIB =’ in the /Make/files? Thank you. |
|
April 7, 2019, 02:54 |
|
#2 |
Senior Member
Nicolas Edh
Join Date: Mar 2010
Location: Uppsala, Sweden
Posts: 123
Rep Power: 18 |
Hi,
How about Code:
$(LIB=$(FOAM_SITE_LIBBIN)/libNew Code:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/Roy11/somepath |
|
April 7, 2019, 22:01 |
|
#3 |
Member
Jiadong Wang
Join Date: Mar 2018
Location: Australia
Posts: 32
Rep Power: 8 |
Hello Nicolas,
Thank you very much for reply, it's definitely what I need. I'll try that soon. Best wishes. |
|
Tags |
library path |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Thermal phase change model | Piti | CFX | 1 | January 14, 2021 11:03 |
Extruding surface/domain mesh in helical path | rahulksoni | Pointwise & Gridgen | 6 | March 4, 2018 11:57 |
[waves2Foam] Error: "The directory path WAVES_DIR=:/home/waves2Foam does not exist." | Dmitrjs | OpenFOAM Community Contributions | 3 | June 27, 2014 09:53 |
Help with writing a macro/UDF_file/script to change BC at regular time step intervals | Codophobia | Fluent Multiphase | 0 | April 24, 2014 11:07 |
Change path in Tecplot Layout | pascool | Tecplot | 1 | November 14, 2012 11:36 |