sudo apt-get install curl m4 make autoconf automake gcc git libgsl0-dev wget findutils
and thencurl https://www.seamplex.com/milonga/get.sh | sh
according instructions of website https://www.seamplex.com/milonga/.After the second attempt:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 7974 100 7974 0 0 3802 0 0:00:02 0:00:02 --:--:-- 3804
0. checking pre-requisistes...ok!
1. wasora-suite subdir exists, good!
2. pulling and updating milonga repository...ok!
3. bootstrapping milonga source tree...Cloning into 'wasora'...
remote: Counting objects: 1366, done.
remote: Compressing objects: 100% (1329/1329), done.
remote: Total 1366 (delta 935), reused 176 (delta 30)
Receiving objects: 100% (1366/1366), 775.94 KiB | 263.00 KiB/s, done.
Resolving deltas: 100% (935/935), done.
Checking connectivity... done.
fmt:
'/PLUGINS.md' to read: File or directory not foundconfigure.ac:17: installing './compile'
configure.ac:17: installing './install-sh'
configure.ac:17: installing './missing'
parallel-tests: installing './test-driver'
src/Makefile.am: installing './depcomp'
ok!
4. checking for GSL...already installed!
4.5. checking for PETSc...4.5. checking for SLEPc...5. configuring milonga...configure: WARNING: sundials ida headers not found
configure: WARNING: sundials ida headers not found
configure: WARNING: sundials ida library (libsundials-ida) not found
configure: WARNING: sundials ida headers not found
configure: WARNING: sundials nvecserial library (libsundials-nvecserial) not found
configure: WARNING: GNU readline headers (libreadline-dev) not found.
configure: WARNING: GNU readline library (libreadline) not found.
configure: error: cannot find /home/cesarb/wasora-suite/milonga/libs/petsc-3.7.4/arch-linux2-c-opt/lib/petsc/conf/petscvariables
(did you upgrade to PETSC 3.6.0?)
ok!
6. compiling milonga...make: ***No target indicated and no make file found. Stop.ok!Can anyone help me?
7. linking /home/cesarb/bin/milonga to the recently compiled binary...ok!
8. directory /home/cesarb/bin is already in the PATH envar, good!
something went wrong as milonga does not run :-(
share your get.log file with the mailing list for help.
see <https://groups.google.com/a/seamplex.com/forum/#!forum/wasora>
Thank you.
--
You received this message because you are subscribed to the Google Groups "wasora" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wasora+un...@seamplex.com.
To post to this group, send email to was...@seamplex.com.
Visit this group at https://groups.google.com/a/seamplex.com/group/wasora/.
To view this discussion on the web visit https://groups.google.com/a/seamplex.com/d/msgid/wasora/1a793c3d-85a4-4252-9f18-8a50967d8da8%40seamplex.com.
For more options, visit https://groups.google.com/a/seamplex.com/d/optout.
I don't like this line:configure: error: cannot find /home/cesarb/wasora-suite/ milonga/libs/petsc-3.7.4/arch- linux2-c-opt/lib/petsc/conf/ petscvariablesa. can you share your get.log?b. what is the output of$ echo $PETSC_DIR?On Tue, 2018-03-27 at 19:54 -0700, César Bublitz wrote:
I tried to install milonga on ubuntu by running in terminal:
sudo apt-get install curl m4 make autoconf automake gcc git libgsl0-dev wget findutils
and then
curl https://www.seamplex.com/ milonga/get.sh | sh
according instructions of website https://www.seamplex.com/ milonga/.After the second attempt:
To view this discussion on the web visit https://groups.google.com/a/seamplex.com/d/msgid/wasora/1842602144.232122.1522240922357%40mail.yahoo.com.
For more options, visit https://groups.google.com/a/seamplex.com/d/optout.
Configuring PETSc to compile on your system
===============================================================================
=============================================================================== ***** WARNING: Using default optimization C flags -g -O You might consider manually setting optimal optimization flags for your system with COPTFLAGS="optimization flags" see config/examples/arch-*-opt.py for examples =============================================================================== =============================================================================== ***** WARNING: Using default C++ optimization flags -g -O You might consider manually setting optimal optimization flags for your system with CXXOPTFLAGS="optimization flags" see config/examples/arch-*-opt.py for examples =============================================================================== =============================================================================== ***** WARNING: Using default FORTRAN optimization flags -g -O You might consider manually setting optimal optimization flags for your system with FOPTFLAGS="optimization flags" see config/examples/arch-*-opt.py for examples =============================================================================== =============================================================================== WARNING! Compiling PETSc with no debugging, this should only be done for timing and production runs. All development should be done when configured using --with-debugging=1 =============================================================================== =============================================================================== It appears you do not have valgrind installed on your system. We HIGHLY recommend you install it from www.valgrind.org Or install valgrind-devel or equivalent using your package manager. Then rerun ./configure =============================================================================== Compilers:
C Compiler: gcc -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fvisibility=hidden -g -O
C++ Compiler: g++ -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fvisibility=hidden -g -O -fPIC
Fortran Compiler: gfortran -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -g -O
Linkers:
Shared linker: gcc -shared -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fvisibility=hidden -g -O
Dynamic linker: gcc -shared -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fvisibility=hidden -g -O
make:
BLAS/LAPACK: -llapack -lblas
Arch:
pthread:
Library: -lpthread
PETSc:
PETSC_ARCH: arch-linux2-c-opt
PETSC_DIR: /home/cesarb/wasora-suite/milonga/libs/petsc-3.7.4
Scalar type: real
Precision: double
Clanguage: C
shared libraries: enabled
Integer size: 32
Memory alignment: 16
xxx=========================================================================xxx
Configure stage complete. Now build PETSc libraries with (gnumake build):
make PETSC_DIR=/home/cesarb/wasora-suite/milonga/libs/petsc-3.7.4 PETSC_ARCH=arch-linux2-c-opt all
xxx=========================================================================xxx
I would like to know why the make step failed, did you save the error message so we can share the findings with other people?
--
You received this message because you are subscribed to the Google Groups "wasora" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wasora+un...@seamplex.com.
To post to this group, send email to was...@seamplex.com.
Visit this group at https://groups.google.com/a/seamplex.com/group/wasora/.
To view this discussion on the web visit https://groups.google.com/a/seamplex.com/d/msgid/wasora/f878cfab-955f-4da8-b311-e2b5f122698d%40seamplex.com.
For more options, visit https://groups.google.com/a/seamplex.com/d/optout.
I'm sorry for bothering you again. As a beginner Linux user, I understand that I need to study more about it. But I could not solve the problem because I can not find the binary file. In the home/bin directory, there is a link to the /wasora-suite/milonga directory that leads to the milonga file that does not exist.
Did I have a problem with the installation or is it ignorance of me?
After test performed:
cesarb@cesarb-Presario-CQ43-Notebook-PC:~/wasora-suite/milonga/libs/petsc-3.7.4$
make PETSC_DIR=/home/cesarb/wasora-suite/milonga/libs/petsc-3.7.4
PETSC_ARCH=arch-linux2-c-opt test
Running test examples to
verify correct installation
Using
PETSC_DIR=/home/cesarb/wasora-suite/milonga/libs/petsc-3.7.4 and
PETSC_ARCH=arch-linux2-c-opt
C/C++ example
src/snes/examples/tutorials/ex19 run successfully with 1 MPI
process
Fortran example src/snes/examples/tutorials/ex5f run
successfully with 1 MPI process
Completed test
examples
=========================================
Now to
evaluate the computer systems you plan use - do:
make
PETSC_DIR=/home/cesarb/wasora-suite/milonga/libs/petsc-3.7.4
PETSC_ARCH=arch-linux2-c-opt
streams
cesarb@cesarb-Presario-CQ43-Notebook-PC:~/wasora-suite/milonga/libs/petsc-3.7.4$
make PETSC_DIR=/home/cesarb/wasora-suite/milonga/libs/petsc-3.7.4
PETSC_ARCH=arch-linux2-c-opt streams
cd src/benchmarks/streams;
/usr/bin/make --no-print-directory
PETSC_DIR=/home/cesarb/wasora-suite/milonga/libs/petsc-3.7.4
PETSC_ARCH=arch-linux2-c-opt streams
gcc -o MPIVersion.o -c
-fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas
-fvisibility=hidden -g -O
-I/home/cesarb/wasora-suite/milonga/libs/petsc-3.7.4/include
-I/home/cesarb/wasora-suite/milonga/libs/petsc-3.7.4/arch-linux2-c-opt/include
-I/home/cesarb/wasora-suite/milonga/libs/petsc-3.7.4/include/petsc/mpiuni
`pwd`/MPIVersion.c
Running streams with
'/home/cesarb/wasora-suite/milonga/libs/petsc-3.7.4/bin/petsc-mpiexec.uni
' using 'NPMAX=4'
Number of MPI processes 1 Processor names
localhost
Triad:
10071.3653 Rate (MB/s)
Uniprocessor version of MPI can only use
one processor
Uniprocessor version of MPI can only use one
processor
Uniprocessor version of MPI can only use one
processor
------------------------------------------------
cesarb@cesarb-Presario-CQ43-Notebook-PC:~/wasora-suite/milonga/libs/petsc-3.7.4$
cd
cesarb@cesarb-Presario-CQ43-Notebook-PC:~$ cd
wasora-suite/milonga/examples
cesarb@cesarb-Presario-CQ43-Notebook-PC:~/wasora-suite/milonga/examples$
milonga slab.mil
milonga: command not found
did you actually compile milonga or just PESTc/SLEPc?
the usual steps are
cd to milonga path
./autogen.sh
./configure
make
make check
To view this discussion on the web visit https://groups.google.com/a/seamplex.com/d/msgid/wasora/CAE%3DfeK0BsikJu%3DBQTQp%2BgJ%3D3bGvdshMDTWXeVJ4fjOQLsqe98A%40mail.gmail.com.
For more options, visit https://groups.google.com/a/seamplex.com/d/optout.
ok I am not able to follow and I do not know what you are referring to
does anybody else here can help him?
Hi,
The final "make" command works (after the steps mentioned in the previous message). When it didn't work, the message was that make file was not found:
To view this discussion on the web visit https://groups.google.com/a/seamplex.com/d/msgid/wasora/d8885436-466e-42ac-8881-901aee337410%40seamplex.com.
For more options, visit https://groups.google.com/a/seamplex.com/d/optout.