Author Topic: Installation of feappv on 32-bit laptop with ubuntu  (Read 8727 times)

varam48

  • New Member
  • *
  • Posts: 7
Installation of feappv on 32-bit laptop with ubuntu
« on: April 24, 2014, 10:03:14 AM »
hi all!
i tried to install feappv on my 32 bit laptop with ubuntu OS. I downloaded the zip file from the feappv website and used cmake from terminal as per the following instructions given in the feappv website
"
When using CMake environment variables are no longer needed to build FEAPpv.

(1) Unpack your source: unzip feappv31.zip
(2) Create a build directory: mkdir build
(3) Change to the build directory: cd build
(4) Run CMake: cmake ../ver31
(5) Run make: make (use make VERBOSE=1 if you want to see in more detail the
    configuration being used)

When running CMake you make notice that it does not identify the compilers that
you want to use.  In which case you can add -DCMAKE_XX_COMPILER=YY to the cmake
line.  For example:

   cmake -DCMAKE_C_COMPILER=icc -DCMAKE_Fortran_COMPILER=ifort ../ver31
"

i have gfortran 4.8 and gcc compilers installed on my laptop. I dont know whether feappv has been installed by this procedure, how do i come to know that it is installed? I typed "FEAPpv" in the terminal but it showed "FEAPpv: command not found"...so how should i proceed now?

M. Kurdi

  • Full Member
  • ***
  • Posts: 149
Re: Installation of feappv on 32-bit laptop with ubuntu
« Reply #1 on: April 24, 2014, 11:35:15 AM »
executable program is usually installed in the directory /ver31/main/. It is feappv.

varam48

  • New Member
  • *
  • Posts: 7
Re: Installation of feappv on 32-bit laptop with ubuntu
« Reply #2 on: April 24, 2014, 12:16:55 PM »
in the folder where i had stored feappv zip file, there is ver31/main/ . this contains 2 files, one of them is "feappv.f".
is it the one you had mentioned about? so in that case, my installation of FEAPpv is complete, right?

varam48

  • New Member
  • *
  • Posts: 7
Re: Installation of feappv on 32-bit laptop with ubuntu
« Reply #3 on: April 24, 2014, 12:41:07 PM »
but still, if i type "./feap" in the terminal it is not working, it is displaying "bash: ./feap: No such file or directory", please help!

M. Kurdi

  • Full Member
  • ***
  • Posts: 149
Re: Installation of feappv on 32-bit laptop with ubuntu
« Reply #4 on: April 24, 2014, 12:42:34 PM »
no you should have an executable feappv in addition to the object file feappv.o

varam48

  • New Member
  • *
  • Posts: 7
Re: Installation of feappv on 32-bit laptop with ubuntu
« Reply #5 on: April 24, 2014, 01:43:32 PM »

i read the installation guide in the feappv website, but i do not know the many things i should fill in the "makefile.in".

i thought i need not go through the process if i do it with cmake.

so where did i go wrong? and what more should i do?

FEAP_Admin

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 993
Re: Installation of feappv on 32-bit laptop with ubuntu
« Reply #6 on: April 24, 2014, 02:58:45 PM »
It seems that you are not experienced with compiling codes or running programs from the terminal.  Probably the best advice is to sit down
with someone that is familiar with such matters and have them help you out the first time.  It is not hard but it helps to have someone show
you the first time.

Using cmake should make things simpler since it will figure out all the configuration settings for you.  At the end of the day, in your build directory, you should find the executable feappv.

varam48

  • New Member
  • *
  • Posts: 7
Re: Installation of feappv on 32-bit laptop with ubuntu
« Reply #7 on: April 25, 2014, 12:13:02 AM »
ok, thanks a lot :)