CCL: VB2000 on MacOS



May I suggest MacPorts for getting cooperating C and Fortran compilers (i.e. that can link between each other via libgfortran.dylib).  After you've installed MacPorts, you should have the "port" command available.  Use the following commands:

sudo port install gcc44 +gfortran
sudo port install gcc_select
sudo gcc_select mp-gcc44

You can use "gcc_select -l" to show which compilers you have installed.  In the case of compiling code, gfortran is a valid Fortran77 compiler, so it can be used in the place of g77 (but it is more strict).

Hope this helps,
Jason

On Tue, Dec 14, 2010 at 2:08 PM, Jiabo Li jiaboli * yahoo.com <owner-chemistry]=[ccl.net> wrote:
First, make sure you have both Fortran and C compiler installed on your MacOS. VB2000 uses a small piece of C code for dynamic memory allocation. There is also an option in the installation to use static memory and you don't need the C code. Please contact me directly for your problem (send me the log file of your compilation). A user recently had similar issue on MacOS and got a solution, and you can ask this user directly for help.
 
Jiabo


--- On Tue, 12/14/10, Ghislain Deslongchamps ghislain/http://aunb.ca" target="_blank">aunb.ca <owner-chemistryÌl.net> wrote:

From: Ghislain Deslongchamps ghislain/aunb.ca <owner-chemistryÌl.net>
Subject: CCL: VB2000 on MacOS
To: "Li, Jiabo " <jiaboliyahoo.com>
Date: Tuesday, December 14, 2010, 5:29 AM

Hi all,

Does anyone have instructions on how to compile VB2000 on MacOS X (10.6.x)? I tried with g77 but without success. Thanks.

Seasons Greetings!

Ghislain






--
Jason M. Swails
Quantum Theory Project,
University of Florida
Ph.D. Graduate Student
352-392-4032