cd $BASILISK/gl
make libglutils.a libfb_osmesa.a
make: `libglutils.a' is up to date.
cc -g -Wall -pipe -D_FORTIFY_SOURCE=2 -O2 -c -o fb_osmesa.o fb_osmesa.c
fb_osmesa.c:1:23: fatal error: GL/osmesa.h: No such file or directory
#include <GL/osmesa.h>
^
compilation terminated.
make: *** [fb_osmesa.o] Error 1
sudo apt-get install libglu1-mesa-dev libosmesa6-dev
qcc -source -D_MPI=1 -grid=multigrid3D wave.c
mpicc -O2 -Wall _wave.c -o wave -L$BASILISK/gl -lglutils -lfb_osmesa -lOSMesa -lGLU -lm
fatal error: gl/framebuffer.h: No such file or directory
#include <gl/framebuffer.h>
^~~~~~~~~~~~~~~~~~
compilation terminated.
joubert@login3:/scratch/cnt0021/ija7325/joubert/run_directory/injection/prod/normal/0.486L/0.6L/lvl8/tracer/tracer$ sh run.sh
remove module llvm/3.9.1 (tool llvm)
remove module mkl/compilers_and_libraries_2017.0.098/linux (Intel MKL)
remove module idb/compilers_and_libraries_2017.0.098/linux (Intel Debugger)
remove module intel/17.0 (Intel Compiler Suite)
/opt/mpi/openmpi-icc/2.0.4.12 openmpi-icc
everything is fine : /opt/mpi/openmpi-icc/2.0.4.12 openmpi-icc
remove module openmpi-icc/2.0.4.12 (openmpi)
/opt/mpi/openmpi-icc/2.0.4.12 openmpi-icc
everything is fine : /opt/mpi/openmpi-icc/2.0.4.12 openmpi-icc
load module openmpi-icc/2.0.4.12 (openmpi)
load module mkl/compilers_and_libraries_2017.0.098/linux (Intel MKL)
load module idb/compilers_and_libraries_2017.0.098/linux (Intel Debugger)
load module intel/17.0 (Intel Compiler Suite)
load module llvm/3.9.1 (tool llvm)
/home/joubert/basilisk/src/draw.h(392): error: identifier "Node" is undefined
static double evaluate_expression (Point point, Node * n)
^
/home/joubert/basilisk/src/draw.h(447): error: identifier "Node" is undefined
static bool assemble_node (Node * n)
^
/home/joubert/basilisk/src/draw.h(457): warning #266: function "reset_node_type" declared implicitly
reset_node_type (n, 'D');
^
/home/joubert/basilisk/src/draw.h(459): warning #266: function "reset_node_type" declared implicitly
reset_node_type (n, 'x');
^
/home/joubert/basilisk/src/draw.h(461): warning #266: function "reset_node_type" declared implicitly
reset_node_type (n, 'y');
^
/home/joubert/basilisk/src/draw.h(463): warning #266: function "reset_node_type" declared implicitly
reset_node_type (n, 'z');
^
/home/joubert/basilisk/src/draw.h(475): warning #266: function "reset_node_type" declared implicitly
reset_node_type (n, '1');
^
/home/joubert/basilisk/src/draw.h(502): error: identifier "Node" is undefined
Node * node = parse_node (expr);
^
/home/joubert/basilisk/src/draw.h(502): error: identifier "node" is undefined
Node * node = parse_node (expr);
^
/home/joubert/basilisk/src/draw.h(502): warning #266: function "parse_node" declared implicitly
Node * node = parse_node (expr);
^
/home/joubert/basilisk/src/draw.h(508): warning #266: function "free_node" declared implicitly
free_node (node);
^
/home/joubert/basilisk/src/draw.h(513): warning #266: function "free_node" declared implicitly
free_node (node);
^
/home/joubert/basilisk/src/draw.h(523): warning #266: function "free_node" declared implicitly
free_node (node);
^
compilation aborted for _injection_0.486L_0.6L_tracer.c (code 2)
-rw-r--r-- 1 nels0n1 nels0n1 0 mai 19 15:40 dump~
nels0n1@nels0n-N56VB:~/2$ bview3D dump~
restore(): error: expecting header
Cheers
Nelson
mpicc -O2 -Wall _drop.c -o drop -L$BASILISK/gl -lglutils -lfb_osmesa -lOSMesa -lGLU -lm
fatal error: gl/framebuffer.h: No such file or
directory
compilation terminated.
mpicc -O2 -Wall _drop.c -o drop -I/home/hui/basilisk/src/gl -L$BASILISK/gl -lglutils -lfb_osmesa -lOSMesa -lGLU -lm
/home/hui/basilisk/src/view.h:68:28: fatal error: gl/framebuffer.h: No such file or directory
compilation terminated.
-I$BASILISK
In file included from OffscreenContextGLX.c:53:0:
system-gl.h:2:21: fatal error: GL/glew.h: File o directory non esistente
#include <GL/glew.h>
^
compilation terminated.
make: *** [OffscreenContextGLX.o] Errore 1
and when I write:qcc -O2 -g -Wall -pipe -D_FORTIFY_SOURCE=2 bview-server.c -o bview-server2D -Lgl -lglutils -lfb_osmesa -lGLU -lOSMesa -lm
/usr/bin/ld: impossibile trovare -lOSMesa
collect2: error: ld returned 1 exit status
These errors mean (sorry for the Italian language in the errors) that the "glew.h" and "lOSMesa" files are not found in /usr/bin/ld. The problem now is that "glew.h" and "lOSMesa" are not present neither in folder "mesa-17.2.4" nor in folder "glu-9.0.0", in which I supposed there should be.
I do not understand if something went wrong during the download of the files from http://basilisk.fr/src/gl/INSTALL#installing-osmesaglu-from-source, or if these files should be located in some other folders of the cluster.
Thanks for your attention.
Kind Regards,
Alessandro Della Pia
configure: error: Platform surfaceless requires libdrm >= 2.4.75
--
You received this message because you are subscribed to the Google Groups "basilisk-fr" group.
To unsubscribe from this group and stop receiving emails from it, send an email to basilisk-fr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/basilisk-fr/a0a586dd-0177-4316-bd99-4e0071208a88n%40googlegroups.com.
tar -zxvf mesa-17.2.4.tar.gz
cd mesa-17.2.4
./configure --prefix=/home/login/local --enable-osmesa \
--with-gallium-drivers=swrast \
--disable-driglx-direct --disable-dri --disable-gbm --disable-egl
Hello,
I have installed basilisk in WSL environment in "/home/gopu" directory my windows PC also on college HPC cluster. Their I prepare the code file "atomisation.c" in "/home/gopu/myfiles" directory as reccomended in example.
1)- Approach first:
Then I produce the source code on my local PC as recommended in the example using:
qcc -source -grid=octree -D_MPI=1 atomisation.c
Then I copy the source code "_atomisation.c" from my local PC to my college HPC cluster using:
scp _atomisation.c javedm@clustername:/home/javedm/myfiles
Their I prepare the run script which I am attaching as "run.sh" to upload the job script on the cluster, but I am getting the error file and output file containing error, which are named respectively as "log_compilation" and "atomout_compilation_error".
From analysing the errors, I am suggesting that the compilation using mpicc is not being done, as it might be searching the files in "/home/gopu/basilisk.." instead of "/home/javedm/basilisk..". Therefore, not producing the executable file.
Please suggest me something to solve this error.
2)- Approach second:
As in first approach I produced the source code on local PC, but this time I compile the source code on the login node of the HPC by loading the required module:
module load compiler/openmpi/gcc/4.0.2
module load compiler/intel/2020.2.254
compiling using:
This produce executable file naming “atomisation”, then I submit the run script with run command only naming “run1.sh”
This produce an error file and a output file respectively naming as “log_run2” and “basilisk2.output”
3)- Approach third:
Instead of producing the source code on the local PC, I tried to produce the source code on the HPC using the same:
qcc -source -grid=octree -D_MPI=1 atomisation.c
with some parsing errors it produces source code "_atomisation.c". The errors file naming “comp_onlog.docx”.
Then I upload the same "run.sh" script hoping successful compilation and execution, but now also the compilation doesn’t work. Therefore, no point of execution also.
I am attaching the error file as "log_hpc" and also the output file as "basilisk3.output"
Please suggest me something to solve this error.
4)- Approach fourth:
As in third approach produce source code on HPC and this time doing the compilation on the login node as well by loading the required module:
module load compiler/openmpi/gcc/4.0.2
module load compiler/intel/2020.2.254
then doing the compilation using:
which produce an executable file “atomisation”.
Then for executing the code I upload the job script naming “run4.sh”, which in return produces error and output file as “log_run4” and “basilisk4.output” respaectively.
5)- Approach fifth:
Produced the source code on local PC, compiled on login node and running on HPC using run script but containing the run command for single environment i.e.
./atomisation
Which produces the files but they are not as I want them to be.
If anyone one of you can suggest a proper procedure then please suggest me, or if I am doing some silly mistake in my procedure then please also suggest.