"platforms/opencl/vscode:/vscode.git/clone" did not exist on "ed554f520a5c265b618b87aea99f91b61e320605"
Commit f755a61a authored by John Chodera (MSKCC)'s avatar John Chodera (MSKCC)
Browse files

Undo changes.

parent ab41f844
# CMAKE generated file: DO NOT EDIT! # ----------------------------------------------------------------------
# Generated by "Unix Makefiles" Generator, CMake Version 2.8 # Makefile for OpenMM Preview Release 4 workshop "hello world" examples.
# August 18, 2009
# Default target executed when no arguments are given to make. # See https://simtk.org/home/openmm.
default_target: all # ----------------------------------------------------------------------
.PHONY : default_target # This assumes you have gcc compilers for whatever language you are
# using: g++ for C++ and C, gfortran for Fortran 95.
#============================================================================= #
# Special targets provided by cmake. # For the C and Fortran examples, we're depending on your version of
# OpenMM to have been built with the automatically-generated API
# Disable implicit rules so canonical targets will work. # wrappers.
.SUFFIXES: #
# This has had only minimal testing, although it has been known to
# Remove some rules from gmake that .SUFFIXES does not remove. # work. It is likely to work fine for C and C++. For Fortran, you
SUFFIXES = # may need to add some of the C/C++ libraries:
# -lc -lm -lstdc++ (or -lstdc++.6) -lgcc -lgcc_s
.SUFFIXES: .hpux_make_needs_suffix_list # but this wasn't required for these examples on Centos 5.2 using
# gcc 4.1.2.
# Suppress display of executed commands.
$(VERBOSE).SILENT: # Check whether this is the right capitalization for your install directory.
OpenMM_INSTALL_DIR=/usr/local/openmm
# A target that is always out of date. CFLAGS = -g
cmake_force: FFLAGS = -g -ffree-line-length-none
.PHONY : cmake_force
# Extra libraries required when gfortran links with a C++ module.
#============================================================================= # If this doesn't work, look in /usr/lib to
# Set environment variables for the build. # see what versions of libstdc++.so you have and try different
# versions.
# The shell in which to execute make rules. FCPPLIBS = -lstdc++
SHELL = /bin/sh
LIB_DIR=$(OpenMM_INSTALL_DIR)/lib
# The CMake executable. INCLUDE_DIR=$(OpenMM_INSTALL_DIR)/include
CMAKE_COMMAND = /opt/local/bin/cmake LIBS= -lOpenMM
# The command to remove a file. ALL_CPP_EXAMPLES = HelloArgon HelloSodiumChloride HelloEthane HelloWaterBox
RM = /opt/local/bin/cmake -E remove -f ALL_C_EXAMPLES = HelloArgonInC HelloSodiumChlorideInC
ALL_F95_EXAMPLES = HelloArgonInFortran HelloSodiumChlorideInFortran
# Escaping for special characters.
EQUALS = = ALL_PROGS = $(ALL_CPP_EXAMPLES) $(ALL_C_EXAMPLES) $(ALL_F95_EXAMPLES)
# The program to use to edit the cache. default: HelloArgon
CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake
all : $(ALL_PROGS)
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /Users/choderaj/code/openmm/openmm.jchodera # Treat all .cpp source files the same way.
.cpp :
# The top-level build directory on which CMake was run. g++ $(CFLAGS) -I$(INCLUDE_DIR) $< -L$(LIB_DIR) $(LIBS) -o $*
CMAKE_BINARY_DIR = /Users/choderaj/code/openmm/openmm.jchodera
HelloArgonInC: HelloArgonInC.c
#============================================================================= g++ $(CFLAGS) -I$(INCLUDE_DIR) HelloArgonInC.c \
# Targets provided globally by CMake. -L$(LIB_DIR) $(LIBS) -o HelloArgonInC
# Special rule for the target edit_cache HelloSodiumChlorideInC: HelloSodiumChlorideInC.c
edit_cache: g++ $(CFLAGS) -I$(INCLUDE_DIR) HelloSodiumChlorideInC.c \
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." -L$(LIB_DIR) $(LIBS) -o HelloSodiumChlorideInC
/opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
.PHONY : edit_cache HelloArgonInFortran: HelloArgonInFortran.f90 openmm.mod
gfortran $(FFLAGS) HelloArgonInFortran.f90 \
# Special rule for the target edit_cache -I$(INCLUDE_DIR) -L$(LIB_DIR) $(LIBS) $(FCPPLIBS) -o HelloArgonInFortran
edit_cache/fast: edit_cache
.PHONY : edit_cache/fast HelloSodiumChlorideInFortran: HelloSodiumChlorideInFortran.f90 openmm.mod
gfortran $(FFLAGS) HelloSodiumChlorideInFortran.f90 \
# Special rule for the target install -I$(INCLUDE_DIR) -L$(LIB_DIR) $(LIBS) $(FCPPLIBS) -o HelloSodiumChlorideInFortran
install: preinstall
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
/opt/local/bin/cmake -P cmake_install.cmake # Build Fortran 95 Module file
.PHONY : install openmm.mod:
gfortran -c $(FFLAGS) $(INCLUDE_DIR)/OpenMMFortranModule.f90
# Special rule for the target install
install/fast: preinstall/fast clean :
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." rm $(ALL_PROGS) *.o *.mod *.obj *.exe
/opt/local/bin/cmake -P cmake_install.cmake
.PHONY : install/fast
# Special rule for the target install/local
install/local: preinstall
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
/opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
.PHONY : install/local
# Special rule for the target install/local
install/local/fast: install/local
.PHONY : install/local/fast
# Special rule for the target install/strip
install/strip: preinstall
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
/opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
.PHONY : install/strip
# Special rule for the target install/strip
install/strip/fast: install/strip
.PHONY : install/strip/fast
# Special rule for the target list_install_components
list_install_components:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\""
.PHONY : list_install_components
# Special rule for the target list_install_components
list_install_components/fast: list_install_components
.PHONY : list_install_components/fast
# Special rule for the target rebuild_cache
rebuild_cache:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
/opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
.PHONY : rebuild_cache
# Special rule for the target rebuild_cache
rebuild_cache/fast: rebuild_cache
.PHONY : rebuild_cache/fast
# Special rule for the target test
test:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running tests..."
/opt/local/bin/ctest --force-new-ctest-process $(ARGS)
.PHONY : test
# Special rule for the target test
test/fast: test
.PHONY : test/fast
# The main all target
all: cmake_check_build_system
cd /Users/choderaj/code/openmm/openmm.jchodera && $(CMAKE_COMMAND) -E cmake_progress_start /Users/choderaj/code/openmm/openmm.jchodera/CMakeFiles /Users/choderaj/code/openmm/openmm.jchodera/examples/CMakeFiles/progress.marks
cd /Users/choderaj/code/openmm/openmm.jchodera && $(MAKE) -f CMakeFiles/Makefile2 examples/all
$(CMAKE_COMMAND) -E cmake_progress_start /Users/choderaj/code/openmm/openmm.jchodera/CMakeFiles 0
.PHONY : all
# The main clean target
clean:
cd /Users/choderaj/code/openmm/openmm.jchodera && $(MAKE) -f CMakeFiles/Makefile2 examples/clean
.PHONY : clean
# The main clean target
clean/fast: clean
.PHONY : clean/fast
# Prepare targets for installation.
preinstall: all
cd /Users/choderaj/code/openmm/openmm.jchodera && $(MAKE) -f CMakeFiles/Makefile2 examples/preinstall
.PHONY : preinstall
# Prepare targets for installation.
preinstall/fast:
cd /Users/choderaj/code/openmm/openmm.jchodera && $(MAKE) -f CMakeFiles/Makefile2 examples/preinstall
.PHONY : preinstall/fast
# clear depends
depend:
cd /Users/choderaj/code/openmm/openmm.jchodera && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
.PHONY : depend
# Convenience name for target.
examples/CMakeFiles/HelloArgon.dir/rule:
cd /Users/choderaj/code/openmm/openmm.jchodera && $(MAKE) -f CMakeFiles/Makefile2 examples/CMakeFiles/HelloArgon.dir/rule
.PHONY : examples/CMakeFiles/HelloArgon.dir/rule
# Convenience name for target.
HelloArgon: examples/CMakeFiles/HelloArgon.dir/rule
.PHONY : HelloArgon
# fast build rule for target.
HelloArgon/fast:
cd /Users/choderaj/code/openmm/openmm.jchodera && $(MAKE) -f examples/CMakeFiles/HelloArgon.dir/build.make examples/CMakeFiles/HelloArgon.dir/build
.PHONY : HelloArgon/fast
# Convenience name for target.
examples/CMakeFiles/HelloArgonInC.dir/rule:
cd /Users/choderaj/code/openmm/openmm.jchodera && $(MAKE) -f CMakeFiles/Makefile2 examples/CMakeFiles/HelloArgonInC.dir/rule
.PHONY : examples/CMakeFiles/HelloArgonInC.dir/rule
# Convenience name for target.
HelloArgonInC: examples/CMakeFiles/HelloArgonInC.dir/rule
.PHONY : HelloArgonInC
# fast build rule for target.
HelloArgonInC/fast:
cd /Users/choderaj/code/openmm/openmm.jchodera && $(MAKE) -f examples/CMakeFiles/HelloArgonInC.dir/build.make examples/CMakeFiles/HelloArgonInC.dir/build
.PHONY : HelloArgonInC/fast
# Convenience name for target.
examples/CMakeFiles/HelloEthane.dir/rule:
cd /Users/choderaj/code/openmm/openmm.jchodera && $(MAKE) -f CMakeFiles/Makefile2 examples/CMakeFiles/HelloEthane.dir/rule
.PHONY : examples/CMakeFiles/HelloEthane.dir/rule
# Convenience name for target.
HelloEthane: examples/CMakeFiles/HelloEthane.dir/rule
.PHONY : HelloEthane
# fast build rule for target.
HelloEthane/fast:
cd /Users/choderaj/code/openmm/openmm.jchodera && $(MAKE) -f examples/CMakeFiles/HelloEthane.dir/build.make examples/CMakeFiles/HelloEthane.dir/build
.PHONY : HelloEthane/fast
# Convenience name for target.
examples/CMakeFiles/HelloSodiumChloride.dir/rule:
cd /Users/choderaj/code/openmm/openmm.jchodera && $(MAKE) -f CMakeFiles/Makefile2 examples/CMakeFiles/HelloSodiumChloride.dir/rule
.PHONY : examples/CMakeFiles/HelloSodiumChloride.dir/rule
# Convenience name for target.
HelloSodiumChloride: examples/CMakeFiles/HelloSodiumChloride.dir/rule
.PHONY : HelloSodiumChloride
# fast build rule for target.
HelloSodiumChloride/fast:
cd /Users/choderaj/code/openmm/openmm.jchodera && $(MAKE) -f examples/CMakeFiles/HelloSodiumChloride.dir/build.make examples/CMakeFiles/HelloSodiumChloride.dir/build
.PHONY : HelloSodiumChloride/fast
# Convenience name for target.
examples/CMakeFiles/HelloSodiumChlorideInC.dir/rule:
cd /Users/choderaj/code/openmm/openmm.jchodera && $(MAKE) -f CMakeFiles/Makefile2 examples/CMakeFiles/HelloSodiumChlorideInC.dir/rule
.PHONY : examples/CMakeFiles/HelloSodiumChlorideInC.dir/rule
# Convenience name for target.
HelloSodiumChlorideInC: examples/CMakeFiles/HelloSodiumChlorideInC.dir/rule
.PHONY : HelloSodiumChlorideInC
# fast build rule for target.
HelloSodiumChlorideInC/fast:
cd /Users/choderaj/code/openmm/openmm.jchodera && $(MAKE) -f examples/CMakeFiles/HelloSodiumChlorideInC.dir/build.make examples/CMakeFiles/HelloSodiumChlorideInC.dir/build
.PHONY : HelloSodiumChlorideInC/fast
# Convenience name for target.
examples/CMakeFiles/HelloWaterBox.dir/rule:
cd /Users/choderaj/code/openmm/openmm.jchodera && $(MAKE) -f CMakeFiles/Makefile2 examples/CMakeFiles/HelloWaterBox.dir/rule
.PHONY : examples/CMakeFiles/HelloWaterBox.dir/rule
# Convenience name for target.
HelloWaterBox: examples/CMakeFiles/HelloWaterBox.dir/rule
.PHONY : HelloWaterBox
# fast build rule for target.
HelloWaterBox/fast:
cd /Users/choderaj/code/openmm/openmm.jchodera && $(MAKE) -f examples/CMakeFiles/HelloWaterBox.dir/build.make examples/CMakeFiles/HelloWaterBox.dir/build
.PHONY : HelloWaterBox/fast
Empty.o: Empty.cpp.o
.PHONY : Empty.o
# target to build an object file
Empty.cpp.o:
cd /Users/choderaj/code/openmm/openmm.jchodera && $(MAKE) -f examples/CMakeFiles/HelloArgonInC.dir/build.make examples/CMakeFiles/HelloArgonInC.dir/Empty.cpp.o
cd /Users/choderaj/code/openmm/openmm.jchodera && $(MAKE) -f examples/CMakeFiles/HelloSodiumChlorideInC.dir/build.make examples/CMakeFiles/HelloSodiumChlorideInC.dir/Empty.cpp.o
.PHONY : Empty.cpp.o
Empty.i: Empty.cpp.i
.PHONY : Empty.i
# target to preprocess a source file
Empty.cpp.i:
cd /Users/choderaj/code/openmm/openmm.jchodera && $(MAKE) -f examples/CMakeFiles/HelloArgonInC.dir/build.make examples/CMakeFiles/HelloArgonInC.dir/Empty.cpp.i
cd /Users/choderaj/code/openmm/openmm.jchodera && $(MAKE) -f examples/CMakeFiles/HelloSodiumChlorideInC.dir/build.make examples/CMakeFiles/HelloSodiumChlorideInC.dir/Empty.cpp.i
.PHONY : Empty.cpp.i
Empty.s: Empty.cpp.s
.PHONY : Empty.s
# target to generate assembly for a file
Empty.cpp.s:
cd /Users/choderaj/code/openmm/openmm.jchodera && $(MAKE) -f examples/CMakeFiles/HelloArgonInC.dir/build.make examples/CMakeFiles/HelloArgonInC.dir/Empty.cpp.s
cd /Users/choderaj/code/openmm/openmm.jchodera && $(MAKE) -f examples/CMakeFiles/HelloSodiumChlorideInC.dir/build.make examples/CMakeFiles/HelloSodiumChlorideInC.dir/Empty.cpp.s
.PHONY : Empty.cpp.s
HelloArgon.o: HelloArgon.cpp.o
.PHONY : HelloArgon.o
# target to build an object file
HelloArgon.cpp.o:
cd /Users/choderaj/code/openmm/openmm.jchodera && $(MAKE) -f examples/CMakeFiles/HelloArgon.dir/build.make examples/CMakeFiles/HelloArgon.dir/HelloArgon.cpp.o
.PHONY : HelloArgon.cpp.o
HelloArgon.i: HelloArgon.cpp.i
.PHONY : HelloArgon.i
# target to preprocess a source file
HelloArgon.cpp.i:
cd /Users/choderaj/code/openmm/openmm.jchodera && $(MAKE) -f examples/CMakeFiles/HelloArgon.dir/build.make examples/CMakeFiles/HelloArgon.dir/HelloArgon.cpp.i
.PHONY : HelloArgon.cpp.i
HelloArgon.s: HelloArgon.cpp.s
.PHONY : HelloArgon.s
# target to generate assembly for a file
HelloArgon.cpp.s:
cd /Users/choderaj/code/openmm/openmm.jchodera && $(MAKE) -f examples/CMakeFiles/HelloArgon.dir/build.make examples/CMakeFiles/HelloArgon.dir/HelloArgon.cpp.s
.PHONY : HelloArgon.cpp.s
HelloArgonInC.o: HelloArgonInC.c.o
.PHONY : HelloArgonInC.o
# target to build an object file
HelloArgonInC.c.o:
cd /Users/choderaj/code/openmm/openmm.jchodera && $(MAKE) -f examples/CMakeFiles/HelloArgonInC.dir/build.make examples/CMakeFiles/HelloArgonInC.dir/HelloArgonInC.c.o
.PHONY : HelloArgonInC.c.o
HelloArgonInC.i: HelloArgonInC.c.i
.PHONY : HelloArgonInC.i
# target to preprocess a source file
HelloArgonInC.c.i:
cd /Users/choderaj/code/openmm/openmm.jchodera && $(MAKE) -f examples/CMakeFiles/HelloArgonInC.dir/build.make examples/CMakeFiles/HelloArgonInC.dir/HelloArgonInC.c.i
.PHONY : HelloArgonInC.c.i
HelloArgonInC.s: HelloArgonInC.c.s
.PHONY : HelloArgonInC.s
# target to generate assembly for a file
HelloArgonInC.c.s:
cd /Users/choderaj/code/openmm/openmm.jchodera && $(MAKE) -f examples/CMakeFiles/HelloArgonInC.dir/build.make examples/CMakeFiles/HelloArgonInC.dir/HelloArgonInC.c.s
.PHONY : HelloArgonInC.c.s
HelloEthane.o: HelloEthane.cpp.o
.PHONY : HelloEthane.o
# target to build an object file
HelloEthane.cpp.o:
cd /Users/choderaj/code/openmm/openmm.jchodera && $(MAKE) -f examples/CMakeFiles/HelloEthane.dir/build.make examples/CMakeFiles/HelloEthane.dir/HelloEthane.cpp.o
.PHONY : HelloEthane.cpp.o
HelloEthane.i: HelloEthane.cpp.i
.PHONY : HelloEthane.i
# target to preprocess a source file
HelloEthane.cpp.i:
cd /Users/choderaj/code/openmm/openmm.jchodera && $(MAKE) -f examples/CMakeFiles/HelloEthane.dir/build.make examples/CMakeFiles/HelloEthane.dir/HelloEthane.cpp.i
.PHONY : HelloEthane.cpp.i
HelloEthane.s: HelloEthane.cpp.s
.PHONY : HelloEthane.s
# target to generate assembly for a file
HelloEthane.cpp.s:
cd /Users/choderaj/code/openmm/openmm.jchodera && $(MAKE) -f examples/CMakeFiles/HelloEthane.dir/build.make examples/CMakeFiles/HelloEthane.dir/HelloEthane.cpp.s
.PHONY : HelloEthane.cpp.s
HelloSodiumChloride.o: HelloSodiumChloride.cpp.o
.PHONY : HelloSodiumChloride.o
# target to build an object file
HelloSodiumChloride.cpp.o:
cd /Users/choderaj/code/openmm/openmm.jchodera && $(MAKE) -f examples/CMakeFiles/HelloSodiumChloride.dir/build.make examples/CMakeFiles/HelloSodiumChloride.dir/HelloSodiumChloride.cpp.o
.PHONY : HelloSodiumChloride.cpp.o
HelloSodiumChloride.i: HelloSodiumChloride.cpp.i
.PHONY : HelloSodiumChloride.i
# target to preprocess a source file
HelloSodiumChloride.cpp.i:
cd /Users/choderaj/code/openmm/openmm.jchodera && $(MAKE) -f examples/CMakeFiles/HelloSodiumChloride.dir/build.make examples/CMakeFiles/HelloSodiumChloride.dir/HelloSodiumChloride.cpp.i
.PHONY : HelloSodiumChloride.cpp.i
HelloSodiumChloride.s: HelloSodiumChloride.cpp.s
.PHONY : HelloSodiumChloride.s
# target to generate assembly for a file
HelloSodiumChloride.cpp.s:
cd /Users/choderaj/code/openmm/openmm.jchodera && $(MAKE) -f examples/CMakeFiles/HelloSodiumChloride.dir/build.make examples/CMakeFiles/HelloSodiumChloride.dir/HelloSodiumChloride.cpp.s
.PHONY : HelloSodiumChloride.cpp.s
HelloSodiumChlorideInC.o: HelloSodiumChlorideInC.c.o
.PHONY : HelloSodiumChlorideInC.o
# target to build an object file
HelloSodiumChlorideInC.c.o:
cd /Users/choderaj/code/openmm/openmm.jchodera && $(MAKE) -f examples/CMakeFiles/HelloSodiumChlorideInC.dir/build.make examples/CMakeFiles/HelloSodiumChlorideInC.dir/HelloSodiumChlorideInC.c.o
.PHONY : HelloSodiumChlorideInC.c.o
HelloSodiumChlorideInC.i: HelloSodiumChlorideInC.c.i
.PHONY : HelloSodiumChlorideInC.i
# target to preprocess a source file
HelloSodiumChlorideInC.c.i:
cd /Users/choderaj/code/openmm/openmm.jchodera && $(MAKE) -f examples/CMakeFiles/HelloSodiumChlorideInC.dir/build.make examples/CMakeFiles/HelloSodiumChlorideInC.dir/HelloSodiumChlorideInC.c.i
.PHONY : HelloSodiumChlorideInC.c.i
HelloSodiumChlorideInC.s: HelloSodiumChlorideInC.c.s
.PHONY : HelloSodiumChlorideInC.s
# target to generate assembly for a file
HelloSodiumChlorideInC.c.s:
cd /Users/choderaj/code/openmm/openmm.jchodera && $(MAKE) -f examples/CMakeFiles/HelloSodiumChlorideInC.dir/build.make examples/CMakeFiles/HelloSodiumChlorideInC.dir/HelloSodiumChlorideInC.c.s
.PHONY : HelloSodiumChlorideInC.c.s
HelloWaterBox.o: HelloWaterBox.cpp.o
.PHONY : HelloWaterBox.o
# target to build an object file
HelloWaterBox.cpp.o:
cd /Users/choderaj/code/openmm/openmm.jchodera && $(MAKE) -f examples/CMakeFiles/HelloWaterBox.dir/build.make examples/CMakeFiles/HelloWaterBox.dir/HelloWaterBox.cpp.o
.PHONY : HelloWaterBox.cpp.o
HelloWaterBox.i: HelloWaterBox.cpp.i
.PHONY : HelloWaterBox.i
# target to preprocess a source file
HelloWaterBox.cpp.i:
cd /Users/choderaj/code/openmm/openmm.jchodera && $(MAKE) -f examples/CMakeFiles/HelloWaterBox.dir/build.make examples/CMakeFiles/HelloWaterBox.dir/HelloWaterBox.cpp.i
.PHONY : HelloWaterBox.cpp.i
HelloWaterBox.s: HelloWaterBox.cpp.s
.PHONY : HelloWaterBox.s
# target to generate assembly for a file
HelloWaterBox.cpp.s:
cd /Users/choderaj/code/openmm/openmm.jchodera && $(MAKE) -f examples/CMakeFiles/HelloWaterBox.dir/build.make examples/CMakeFiles/HelloWaterBox.dir/HelloWaterBox.cpp.s
.PHONY : HelloWaterBox.cpp.s
# Help Target
help:
@echo "The following are some of the valid targets for this Makefile:"
@echo "... all (the default if no target is provided)"
@echo "... clean"
@echo "... depend"
@echo "... HelloArgon"
@echo "... HelloArgonInC"
@echo "... HelloEthane"
@echo "... HelloSodiumChloride"
@echo "... HelloSodiumChlorideInC"
@echo "... HelloWaterBox"
@echo "... edit_cache"
@echo "... install"
@echo "... install/local"
@echo "... install/strip"
@echo "... list_install_components"
@echo "... rebuild_cache"
@echo "... test"
@echo "... Empty.o"
@echo "... Empty.i"
@echo "... Empty.s"
@echo "... HelloArgon.o"
@echo "... HelloArgon.i"
@echo "... HelloArgon.s"
@echo "... HelloArgonInC.o"
@echo "... HelloArgonInC.i"
@echo "... HelloArgonInC.s"
@echo "... HelloEthane.o"
@echo "... HelloEthane.i"
@echo "... HelloEthane.s"
@echo "... HelloSodiumChloride.o"
@echo "... HelloSodiumChloride.i"
@echo "... HelloSodiumChloride.s"
@echo "... HelloSodiumChlorideInC.o"
@echo "... HelloSodiumChlorideInC.i"
@echo "... HelloSodiumChlorideInC.s"
@echo "... HelloWaterBox.o"
@echo "... HelloWaterBox.i"
@echo "... HelloWaterBox.s"
.PHONY : help
#=============================================================================
# Special targets to cleanup operation of make.
# Special rule to run CMake to check the build system integrity.
# No rule that depends on this can have commands that come from listfiles
# because they might be regenerated.
cmake_check_build_system:
cd /Users/choderaj/code/openmm/openmm.jchodera && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
.PHONY : cmake_check_build_system
#ifndef OPENMM_ASSERTIONUTILITIES_H_
#define OPENMM_ASSERTIONUTILITIES_H_
/* -------------------------------------------------------------------------- *
* OpenMM *
* -------------------------------------------------------------------------- *
* This is part of the OpenMM molecular simulation toolkit originating from *
* Simbios, the NIH National Center for Physics-Based Simulation of *
* Biological Structures at Stanford, funded under the NIH Roadmap for *
* Medical Research, grant U54 GM072970. See https://simtk.org. *
* *
* Portions copyright (c) 2008-2013 Stanford University and the Authors. *
* Authors: Peter Eastman *
* Contributors: *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
* copy of this software and associated documentation files (the "Software"), *
* to deal in the Software without restriction, including without limitation *
* the rights to use, copy, modify, merge, publish, distribute, sublicense, *
* and/or sell copies of the Software, and to permit persons to whom the *
* Software is furnished to do so, subject to the following conditions: *
* *
* The above copyright notice and this permission notice shall be included in *
* all copies or substantial portions of the Software. *
* *
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR *
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, *
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL *
* THE AUTHORS, CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, *
* DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR *
* OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE *
* USE OR OTHER DEALINGS IN THE SOFTWARE. *
* -------------------------------------------------------------------------- */
/**
* This file provides a variety of macros useful in test cases.
*/
#include "windowsExport.h"
#include <cmath>
#include <sstream>
namespace OpenMM {
void OPENMM_EXPORT throwException(const char* file, int line, const std::string& details);
} // namespace OpenMM
#define ASSERT(cond) {if (!(cond)) throwException(__FILE__, __LINE__, "");};
#define ASSERT_EQUAL(expected, found) {if (!((expected) == (found))) {std::stringstream details; details << "Expected "<<(expected)<<", found "<<(found); throwException(__FILE__, __LINE__, details.str());}};
#define ASSERT_EQUAL_CONTAINERS(expected, found) {if (!((expected) == (found))) {std::stringstream details; details << "Containers not equal"; throwException(__FILE__, __LINE__, details.str());}};
#define ASSERT_EQUAL_TOL(expected, found, tol) {double _scale_ = std::abs(expected) > 1.0 ? std::abs(expected) : 1.0; if (!(std::abs((expected)-(found))/_scale_ <= (tol))) {std::stringstream details; details << "Expected "<<(expected)<<", found "<<(found); throwException(__FILE__, __LINE__, details.str());}};
#define ASSERT_EQUAL_VEC(expected, found, tol) {double _norm_ = std::sqrt((expected).dot(expected)); double _scale_ = _norm_ > 1.0 ? _norm_ : 1.0; if ((std::abs(((expected)[0])-((found)[0]))/_scale_ > (tol)) || (std::abs(((expected)[1])-((found)[1]))/_scale_ > (tol)) || (std::abs(((expected)[2])-((found)[2]))/_scale_ > (tol))) {std::stringstream details; details << " Expected "<<(expected)<<", found "<<(found); throwException(__FILE__, __LINE__, details.str());}};
#define ASSERT_USUALLY_TRUE(cond) {if (!(cond)) throwException(__FILE__, __LINE__, "(This test is stochastic and may occasionally fail)");};
#define ASSERT_USUALLY_EQUAL_TOL(expected, found, tol) {double _scale_ = std::abs(expected) > 1.0 ? std::abs(expected) : 1.0; if (!(std::abs((expected)-(found))/_scale_ <= (tol))) {std::stringstream details; details << "Expected "<<(expected)<<", found "<<(found)<<" (This test is stochastic and may occasionally fail)"; throwException(__FILE__, __LINE__, details.str());}};
#define ASSERT_VALID_INDEX(index, vector) {if (index < 0 || index >= (int) vector.size()) throwException(__FILE__, __LINE__, "Index out of range");};
#endif /*OPENMM_ASSERTIONUTILITIES_H_*/
...@@ -103,9 +103,9 @@ void* CustomNonbondedForceProxy::deserialize(const SerializationNode& node) cons ...@@ -103,9 +103,9 @@ void* CustomNonbondedForceProxy::deserialize(const SerializationNode& node) cons
CustomNonbondedForce* force = new CustomNonbondedForce(node.getStringProperty("energy")); CustomNonbondedForce* force = new CustomNonbondedForce(node.getStringProperty("energy"));
force->setNonbondedMethod((CustomNonbondedForce::NonbondedMethod) node.getIntProperty("method")); force->setNonbondedMethod((CustomNonbondedForce::NonbondedMethod) node.getIntProperty("method"));
force->setCutoffDistance(node.getDoubleProperty("cutoff")); force->setCutoffDistance(node.getDoubleProperty("cutoff"));
force->setUseSwitchingFunction(node.getBoolProperty("useSwitchingFunction", false)); force->setUseSwitchingFunction(node.getBoolProperty("useSwitchingFunction"));
force->setSwitchingDistance(node.getDoubleProperty("switchingDistance", -1.0)); force->setSwitchingDistance(node.getDoubleProperty("switchingDistance"));
force->setUseLongRangeCorrection(node.getBoolProperty("useLongRangeCorrection", false)); force->setUseLongRangeCorrection(node.getBoolProperty("useLongRangeCorrection"));
const SerializationNode& perParticleParams = node.getChildNode("PerParticleParameters"); const SerializationNode& perParticleParams = node.getChildNode("PerParticleParameters");
for (int i = 0; i < (int) perParticleParams.getChildren().size(); i++) { for (int i = 0; i < (int) perParticleParams.getChildren().size(); i++) {
const SerializationNode& parameter = perParticleParams.getChildren()[i]; const SerializationNode& parameter = perParticleParams.getChildren()[i];
...@@ -149,10 +149,8 @@ void* CustomNonbondedForceProxy::deserialize(const SerializationNode& node) cons ...@@ -149,10 +149,8 @@ void* CustomNonbondedForceProxy::deserialize(const SerializationNode& node) cons
force->addTabulatedFunction(function.getStringProperty("name"), new Continuous1DFunction(values, function.getDoubleProperty("min"), function.getDoubleProperty("max"))); force->addTabulatedFunction(function.getStringProperty("name"), new Continuous1DFunction(values, function.getDoubleProperty("min"), function.getDoubleProperty("max")));
} }
} }
// Look for interaction group definitions in a backward-compatible way. const SerializationNode& interactionGroups = node.getChildNode("InteractionGroups");
try { for (int i = 0; i < (int) interactionGroups.getChildren().size(); i++) {
const SerializationNode& interactionGroups = node.getChildNode("InteractionGroups");
for (int i = 0; i < (int) interactionGroups.getChildren().size(); i++) {
const SerializationNode& interactionGroup = interactionGroups.getChildren()[i]; const SerializationNode& interactionGroup = interactionGroups.getChildren()[i];
// Get set 1. // Get set 1.
const SerializationNode& set1node = interactionGroup.getChildNode("Set1"); const SerializationNode& set1node = interactionGroup.getChildNode("Set1");
...@@ -165,9 +163,6 @@ void* CustomNonbondedForceProxy::deserialize(const SerializationNode& node) cons ...@@ -165,9 +163,6 @@ void* CustomNonbondedForceProxy::deserialize(const SerializationNode& node) cons
for (int j = 0; j < (int) set2node.getChildren().size(); j++) for (int j = 0; j < (int) set2node.getChildren().size(); j++)
set2.insert(set2node.getChildren()[j].getIntProperty("index")); set2.insert(set2node.getChildren()[j].getIntProperty("index"));
force->addInteractionGroup(set1, set2); force->addInteractionGroup(set1, set2);
}
} catch (exception &e) {
// Do nothing, since we have to assume that InteractionGroups is not present and allow for this possibility.
} }
return force; return force;
} }
......
...@@ -80,20 +80,20 @@ void* NonbondedForceProxy::deserialize(const SerializationNode& node) const { ...@@ -80,20 +80,20 @@ void* NonbondedForceProxy::deserialize(const SerializationNode& node) const {
NonbondedForce* force = new NonbondedForce(); NonbondedForce* force = new NonbondedForce();
try { try {
force->setNonbondedMethod((NonbondedForce::NonbondedMethod) node.getIntProperty("method")); force->setNonbondedMethod((NonbondedForce::NonbondedMethod) node.getIntProperty("method"));
force->setCutoffDistance(node.getDoubleProperty("cutoff", 1.0)); force->setCutoffDistance(node.getDoubleProperty("cutoff"));
force->setUseSwitchingFunction(node.getDoubleProperty("useSwitchingFunction", false)); force->setUseSwitchingFunction(node.getDoubleProperty("useSwitchingFunction"));
force->setSwitchingDistance(node.getDoubleProperty("switchingDistance", -1.0)); force->setSwitchingDistance(node.getDoubleProperty("switchingDistance"));
force->setEwaldErrorTolerance(node.getDoubleProperty("ewaldTolerance", 5e-4)); force->setEwaldErrorTolerance(node.getDoubleProperty("ewaldTolerance"));
force->setReactionFieldDielectric(node.getDoubleProperty("rfDielectric", 78.3)); force->setReactionFieldDielectric(node.getDoubleProperty("rfDielectric"));
force->setUseDispersionCorrection(node.getIntProperty("dispersionCorrection",true)); force->setUseDispersionCorrection(node.getIntProperty("dispersionCorrection"));
double alpha; double alpha;
int nx, ny, nz; int nx, ny, nz;
alpha = node.getDoubleProperty("alpha", 0.0); alpha = node.getDoubleProperty("alpha");
nx = node.getIntProperty("nx", 0); nx = node.getIntProperty("nx");
ny = node.getIntProperty("ny", 0); ny = node.getIntProperty("ny");
nz = node.getIntProperty("nz", 0); nz = node.getIntProperty("nz");
force->setPMEParameters(alpha, nx, ny, nz); force->setPMEParameters(alpha, nx, ny, nz);
force->setReciprocalSpaceForceGroup(node.getIntProperty("recipForceGroup", -1)); force->setReciprocalSpaceForceGroup(node.getIntProperty("recipForceGroup"));
const SerializationNode& particles = node.getChildNode("Particles"); const SerializationNode& particles = node.getChildNode("Particles");
for (int i = 0; i < (int) particles.getChildren().size(); i++) { for (int i = 0; i < (int) particles.getChildren().size(); i++) {
const SerializationNode& particle = particles.getChildren()[i]; const SerializationNode& particle = particles.getChildren()[i];
......
...@@ -517,7 +517,7 @@ QUIET = NO ...@@ -517,7 +517,7 @@ QUIET = NO
# generated by doxygen. Possible values are YES and NO. If left blank # generated by doxygen. Possible values are YES and NO. If left blank
# NO is used. # NO is used.
WARNINGS = NO WARNINGS = YES
# If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings # If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings
# for undocumented members. If EXTRACT_ALL is set to YES then this flag will # for undocumented members. If EXTRACT_ALL is set to YES then this flag will
...@@ -530,7 +530,7 @@ WARN_IF_UNDOCUMENTED = NO ...@@ -530,7 +530,7 @@ WARN_IF_UNDOCUMENTED = NO
# parameters in a documented function, or documenting parameters that # parameters in a documented function, or documenting parameters that
# don't exist or using markup commands wrongly. # don't exist or using markup commands wrongly.
WARN_IF_DOC_ERROR = NO WARN_IF_DOC_ERROR = YES
# This WARN_NO_PARAMDOC option can be abled to get warnings for # This WARN_NO_PARAMDOC option can be abled to get warnings for
# functions that are documented, but have no documentation for their parameters # functions that are documented, but have no documentation for their parameters
...@@ -564,14 +564,8 @@ WARN_LOGFILE = ...@@ -564,14 +564,8 @@ WARN_LOGFILE =
# directories like "/usr/src/myproject". Separate the files or directories # directories like "/usr/src/myproject". Separate the files or directories
# with spaces. # with spaces.
INPUT = "/Users/choderaj/code/openmm/openmm.jchodera/openmmapi" \ INPUT = "$(OPENMM_INCLUDE_PATH)/OpenMM.h" \
"/Users/choderaj/code/openmm/openmm.jchodera/olla/include/openmm/Platform.h" \ "$(OPENMM_INCLUDE_PATH)/openmm"
"/Users/choderaj/code/openmm/openmm.jchodera/serialization/include/openmm/serialization/SerializationNode.h" \
"/Users/choderaj/code/openmm/openmm.jchodera/serialization/include/openmm/serialization/SerializationProxy.h" \
"/Users/choderaj/code/openmm/openmm.jchodera/serialization/include/openmm/serialization/XmlSerializer.h" \
"/Users/choderaj/code/openmm/openmm.jchodera/plugins/amoeba/openmmapi" \
"/Users/choderaj/code/openmm/openmm.jchodera/plugins/rpmd/openmmapi" \
"/Users/choderaj/code/openmm/openmm.jchodera/plugins/drude/openmmapi"
# This tag can be used to specify the character encoding of the source files # This tag can be used to specify the character encoding of the source files
# that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is # that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is
...@@ -600,7 +594,7 @@ RECURSIVE = YES ...@@ -600,7 +594,7 @@ RECURSIVE = YES
# excluded from the INPUT source files. This way you can easily exclude a # excluded from the INPUT source files. This way you can easily exclude a
# subdirectory from a directory tree whose root is specified with the INPUT tag. # subdirectory from a directory tree whose root is specified with the INPUT tag.
EXCLUDE = *Impl.h EXCLUDE =
# The EXCLUDE_SYMLINKS tag can be used select whether or not files or # The EXCLUDE_SYMLINKS tag can be used select whether or not files or
# directories that are symbolic links (a Unix filesystem feature) are excluded # directories that are symbolic links (a Unix filesystem feature) are excluded
...@@ -614,15 +608,11 @@ EXCLUDE_SYMLINKS = NO ...@@ -614,15 +608,11 @@ EXCLUDE_SYMLINKS = NO
# against the file with absolute path, so to exclude all test directories # against the file with absolute path, so to exclude all test directories
# for example use the pattern */test/* # for example use the pattern */test/*
#EXCLUDE_PATTERNS = */tests/* \
# */src/* \
# */.svn/*
EXCLUDE_PATTERNS = */tests/* \ EXCLUDE_PATTERNS = */tests/* \
*/openmmapi/src/* \ */.svn/*
*/internal/* \
*/.svn/* \
*amoebaKernels.h \
*DrudeKernels.h \
*RpmdKernels.h \
*OpenMMFortranModule.f90 \
*OpenMMCWrapper.h
# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names # The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names
# (namespaces, classes, functions, etc.) that should be excluded from the # (namespaces, classes, functions, etc.) that should be excluded from the
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment