You'll need to reconfigure CAM with these changes:
configure -cppdefs "-DDUST" -nadv N
where N is determined by which aerosols you want to run:
N = 2 or 3 water (see Note) + 4 dust + 4 sulfur + 4 carbon + 1 sea salt
[Note: I can't remember if cam3.0 had 2 or 3 water constituents. There is always water vapor, Q, and cam3.1 has two cloud constituents: CLDICE and CLDLIQ. But they used to be together, so you should look in either the code (cnst_add calls in models/atm/cam/src/physics/cam1/*.F90) or the build files ( NADV in bld/*.h ) to see if you should use 2 or 3].
Then you can turn the aerosols off and on using namelist variables. They are defined and described in models/atm/cam/src/physics/cam1/aerosols_intr.F90, which I'm quoting below.
Note that feedback refers to the radiative forcing. If an aerosol group has feedback on, it *will* affect the climate. If it is off, the aerosol will be emitted/advected/deposited (etc) but the radiation calculation will use the data set (prescribed) aerosols to compute the radiative forcing.
character(len=16), private, parameter :: def_prognostic_sulfur = 'off' ! default
! Set this flag to .TRUE. to turn on sulfur
logical, private :: sulfur = .FALSE.
! Set this flag to .TRUE. to turn on sulfur feedback in
! set_aerosol_from_prognostics()
logical, private :: feedback_sulfur = .FALSE.
! Set this flag to .TRUE. to turn on carbon
logical, private, parameter :: def_carbon = .FALSE. ! default
logical, private :: carbon = def_carbon
! Set this flag to .TRUE. to turn on carbon feedback in
! set_aerosol_from_prognostics()
logical, private, parameter :: def_feedback_carbon = .FALSE. ! default
logical, private :: feedback_carbon = def_feedback_carbon
! Set this flag to .TRUE. to turn on sea salt
logical, private, parameter :: def_sea_salt = .FALSE. ! default
logical, private :: sea_salt = def_sea_salt
! Set this flag to .TRUE. to turn on sea salt feedback in
! set_aerosol_from_prognostics()
logical, private, parameter :: def_feedback_sea_salt = .FALSE. ! default
logical, private :: feedback_sea_salt = def_feedback_sea_salt
You will also need the emissions datasets for each group, and defined by the namelist variables:
carbon: co_emis
dust : soil_erod
sulfur: bndtvsox, bndtvoxid, bndtvdms
Good luck.