Skip to Content.
Sympa Menu

forum - Re: [abinit-forum] Abinit in FreeBSD.

forum@abinit.org

Subject: The ABINIT Users Mailing List ( CLOSED )

List archive

Re: [abinit-forum] Abinit in FreeBSD.


Chronological Thread 
  • From: Masayoshi Mikami <mmikami@yk.rim.or.jp>
  • To: forum@abinit.org, mmgarcia@macbeth.if.usp.br
  • Subject: Re: [abinit-forum] Abinit in FreeBSD.
  • Date: Sat, 19 Jun 2004 11:34:18 +0900

Hello,

Long ago, I tried to install the binaries compiled
on a Linux box to an FreeBSD box. At that time, it worked.

The principle is :
- create the executable program linked with Fortran
Libraries statically; please consult with man pages
for your Fortran compiler by keyword "static",
then enable the option when compiling the ABINIT
(your ABINIT binary is made like this way ?)

- enable your FreeBSD environment for Linux-compatible
mode (emulation). The configuration will depend on
your FreeBSD version...
Maybe Googling and/or FreeBSD documentations would help.
I found some pages (in Japanese, so I do not cite here),
saying:

- linux_enable=``YES'' in /etc/rc.conf, then check
the module is loaded, by "kldstat"
% kldstat
Id Refs Address Size Name
1 2 0xc0100000 16bdb8 kernel
7 1 0xc24db000 d000 linux.ko

- install Linux runtime libraries. e.g. by using port,
# cd /usr/ports/emulators/linux_base
# make install distclean

- add shared libries, if they are missing

- install Linux ELF binaries

- correct hostname resolver (if needed)

This is just an example for some FreeBSD box,
so this might be not for your FreeBSD box.
If a system manager is available there, please ask him/her
about Linux emulation environment for your FreeBSD box.

Hope this helps,
Masayoshi

From: Marcelo Maia Garcia <mmgarcia@macbeth.if.usp.br>
Subject: [abinit-forum] Abinit in FreeBSD.
Date: Fri, 18 Jun 2004 14:35:03 -0300 (EST)
Message-ID: <Pine.OSF.4.10.10406181429530.19478-100000@macbeth.if.usp.br>

> Hi everybody.
>
> I would like to know if it is possible to install Abinit in FreeBSD,
> which is binary compatible with Red Hat 7.1. In fact I tried to install
> the binaries but didn't work.
>
> Thanks
>
> Marcelo



Archive powered by MHonArc 2.6.16.

Top of Page